tags:

views:

137

answers:

5

i tried a lot to create a folder names as "con" , but it says the desired device name is not known.. can you tell me why this is happening?? thanks in advance

Duplicate of Windows and renaming folders - the ‘con’ issue

+5  A: 

con is a reserved word, from the old DOS days when con was a device name for console. Because of the potential ambiguity from having both a device and folder name the same, Windows does not allow a folder named con.

ahockley
i remember writing batch files starting with "Copy con"...
StingyJack
+1  A: 

See this question:
http://stackoverflow.com/questions/448438/windows-and-renaming-folders-the-con-issue

The short version is that there's already a filesystem object named "con".

Joel Coehoorn
A: 

As an extra bit of trivia, trying to browse to C:\Con\Con.wav would crash Windows (Windows 95 if I remember correctly).

Stuart
+1  A: 

Look here: MS-DOS Device Driver Names Cannot be Used as File Names

EBGreen
+1  A: 

Con - console Prn - printer Com1 - comm port

This names are reserved words since older days of dos. Those days writing to the device was through opening these devices as file

Sachin