Legal Disclaimer
Hacking-For-Beginners-a-beginners-guide-for-learning-ethical-hacking
Hacking-For-Beginners-a-beginners-guide-for-learning-ethical-hacking
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Hacking For Beginners – Manthan Desai 2010<br />
34. How to create a CON folder in Windows<br />
Can you create a folder named "CON” in windows?<br />
The Answer is NO and YES!<br />
Why the answer is NO.<br />
NO because when create a new folder and try to rename it to any one of the above specified names, you know what<br />
happens! In Windows XP the folder name automatically changes back to "New Folder” no matter you try any number of<br />
times. Where as in Windows Vista/7 when you try to rename the file you get an error message "The specified device<br />
name is invalid”.<br />
Why it is not possible to create a folder names CON?<br />
Before we proceed further, let me tell you a small secret you can’t even create a folder named<br />
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5,<br />
LPT6, LPT7, LPT8, and LPT9.and many others.<br />
YES the reason you can’t create a folder with these names is because these are reserved keywords used by DOS. The<br />
below list is taken from Microsoft’s website shows a list of reserved keywords in DOS.<br />
NAME<br />
CON<br />
PRN<br />
AUX<br />
CLOCK$<br />
NUL<br />
FUNCTION<br />
Key board and display.<br />
System list device, usually a parallel port.<br />
Auxiliary Device, usually a serial port.<br />
System real-time clock.<br />
Bit-bucket device.<br />
A: - Z: Drive letters.<br />
COM1<br />
LPT1<br />
LPT2<br />
LPT3<br />
COM2<br />
COM3<br />
COM4<br />
First serial communication port.<br />
First parallel printer port.<br />
Second Parallel printer port.<br />
Third Parallel printer port.<br />
Second serial communication port.<br />
Third serial communication port.<br />
Fourth serial communication port.<br />
w w w . h a c k i n g t e c h . c o . t v Page 192