CON is a reserve world in windows operating system. that's why we can not create the folder named as CON. But by command prompt we can do this Code: 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" following file names in Windows are reserved because they represent devices: Code: con, con.* -> the console prn, prn.* -> the default printer, as a character device aux, aux.* -> the default serial terminal, as a character device lpt1, lpt2, lpt3, lpt4, lpt5, lpt6, lpt7, lpt8, lpt9 -> the parallel ports, as character devices lpt1.*, lpt2.*, lpt3.*, lpt4.*, lpt5.*, lpt6.*, lpt7.*, lpt8.*, lpt9.* com1, com2, com3, com4, com5, com6, com7, com8, com9 -> the serial ports, as character devices com1.*, com2.*, com3.*, com4.*, com5.*, com6.*, com7.*, com8.*, com9.* nul, nul.* -> the NUL or "waste bit bucket" or "black hole for bits" or "/dev/null" device Such 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.
I knew that certain keywords cannot be used to name folders in Windows,but a method to bypass even that restriction by means of command prompt is interesting !! Good !
i read it and wow its incredible how many hidden things are in a computer, like those weird hidden games in excel and things like that. i bet there is plenty more.. it was interesting going through all that magic. i find the computer world to be very interesting and amusing, some of the deepest knowledge of mankind all stored in those boxes (mathematically and engineeringly speaking) i believe we as human are the most complicated computers lol. any was thx for everything i love this web site. God bless