Jai Shree Ganesh

Jai Shree Ganesh

Creation of CON,LPT,COM folders on hard disk

Here is the way to create the folder named aux,con
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9 is a device name. ( so you cannot create a folder named con ) All device names are RESERVED and all reserved names
can not be used as the name of a folder!!!

For your information, devices are mapped in MS DOS as files but here is an alternate way to create the folder or file named con .........

STEP1: goto command prompt

STEP2: type in prompt e:\> "mkdir \\.\x:\con" ['x' is your drive name]

STEP3: verify by typing "dir \\.\x:\con"

STEP4: delete the file or folder "rmdir \\.\x:\con"

0 comments:

Copyright © 2008 - UCE GUYS - is proudly powered by Blogger
Blogger Template