Monday, May 2, 2011

can i rename a folder with con

no because  the following list are DOS devices cannot be used as folder names:
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. 

these are internal device objects these cannot be assigned to others if so conflicts occurs 
so to avoid that os prevents 
but we can achive this by using the command in command prompt


mkdir \\.\D:\vijay\con 


and to remove the floder type the commad as 


rmdir \\.\D:\vijay\con