Create CON, AUX, NUL name folder and files in Windows - Study Viral
You can also watch video
Most of you may be aware of many MS-DOS
commands but still now you are not able to create directory with following
names…
CON, AUX, PRN, COM1, LPT1, LPT2, LPT3, COM2, COM4, etc.
Microsoft MS-DOS had reserved these
names for these system device drivers.
- AUX : Auxiliary device, usually a serial port
- CON : Keyboard and display
- CLOCK$ : System real-time clock
- COM1 : First serial communications port
- COM2 : Second serial communications port
- COM3 : Third serial communications port
- COM4 : Fourth serial communications port
- LPT1 : First parallel printer port
- LPT2 : Second parallel printer port
- LPT3 : Third parallel printer port
- NUL: Bit-bucket device
- PRN : System list device, usually a parallel port
Create CON, PRN folders using the command line?
Because
these are Device Driver names in Microsoft Operating
System and these cannot be used as file or folder names in Graphical User
Interface (GUI).
But this can be possible from Windows
Command Prompt (CMD). By using simple command as shown
- To open CMD, right on the Start button and click Command Prompt.
- Now type the following command to create a folder name CON on the desktop
C:\Users\Rohit\Desktop\try>md
con\
C:\Users\Rohit\Desktop\try>md
AUX\
C:\Users\Rohit\Desktop\try>md
prn\
After creating such folders you are also not able to DELETE
these type of folders from Graphical User Interface (GUI). Now
again power of Windows Command Prompt (CMD) is came in existence. To remove
this kind of directory we use following command as shown.
C:\Users\Rohit\Desktop\try>rd
con\
You can also watch video
0 comments:
Post a Comment