Saturday, June 21, 2008

how to create con folder

CON is a reserve world in windowa operating system.that's why we can not create the folder named as CON.
But by command promt we can do this
STEP1: goto command prompt
STEP2: type in prompt e:\> "mkdir \\.\e:\con"
STEP3: verify by typing "dir \\.\e:\con"
STEP4: delete the file or folder "rmdir \\.\e:\con"ollowing file names in Windows are reserved because they represent devices:con, con.* -> the consoleprn, prn.* -> the default printer,
as a character deviceaux, aux.* -> the default serial terminal, as a character devicelpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8, lpt9 -> the parallel ports,
as character deviceslpt1.*, lpt2.*, lpt3.*, lpt4.*, lpt5.*, lpt6.*, lpt7.*, lpt8.*, lpt9.*com1, com2, com3, com4, com5, com6, com7, com8, com9 -> the serial ports, as character devicescom1.*, com2.*, com3.*, com4.*, com5.*, com6.*, com7.*, com8.*, com9.*nul, nul.* -> the NUL or "waste bit bucket" or "black hole for bits" or "/dev/null" deviceSuch files are considered to "exist" in all directories, so if you have a filename like "c:\temp\con", you're talking about the CON device, not about a normal disk file called "con". They're not listed using the "dir" command, or using APIs.

0 comments: