Wednesday 28 July 2010

How to create a folder named "con"



1. Creating a folder with 'con' as folder name is not possible in Windows. This is because 'con' is a reserved word since the DOS OS was created. The word 'con' stands for console. But there is a way to create a folder named 'con' at any location. Thats true! Run the following command in command prompt :

Example - Code:

md.C:con

This will create a folder with 'con' as its name. But before creating the folder please make a note, nor use it to save any data, Its just a useless folder...

2. I tried experimenting with that command, and found out its actual syntax which you can use to create the con folder at any location on the windows based computer. The syntax is :

Example - Code:


md.path-to-create-con-folder

Example - Code:

md.C:SpearMan

3. How to delete a folder named "con"

I found a way to delete the con folder. Use the same command to delete, just replace 'md' command with 'rmdir'
Example - Code:

rmdir.C:con


No comments:

Post a Comment