Solution to create "con" folder....

Status
Not open for further replies.

krdevilal

Broken In
Hello digitians,


I am giving here the solution, Syntax for Creating "Con" folder, and
Reason....

To Create a directory with name "Con" at C:\ root, Syntax is....

command prompt> mkdir \\.\c:\con

To Delete this folder....

command prompt> rmdir \\.\c:\con

Reason... why u cant create folder in normal way from window...

DOS device names are reserved words, and cannot be used as folder or
file names. When parsing a reference to a file or folder, Windows
correctly checks for the case in which a single DOS device name is
used in the path, and treats it as invalid.

And a CAUTION....

The following reserved device names cannot be used as the name of a
file:

CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7,
COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

You must avoid using these names as a file name suffix or file name
body, so you have to avoid names such as aux.c, file.aux or NUL.txt.


OK then..

Bye.. Waiting 4 your comments...
 
Status
Not open for further replies.
Top Bottom