By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,979 Members | 943 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,979 IT Pros & Developers. It's quick & easy.

md \\.\c:\con works but not md \\.\C:\Documents and Settings\admin\Desktop\con

P: 2
As every one Knows windows wont allow creating folders with reserved words as name. But i found in this forum a topic that replied a way to create a folder in drive c:. the way is

md \\.\C:\con

it works. But then i tried this to create the folder in Desktop. But it failed.
So anyBody could find answer how to do this and explain me semantically how the command works?

Regards Velu.
Mar 29 '07 #1
Share this Question
Share on Google+
4 Replies


Cyberdyne
Expert 100+
P: 627
Velu to semantically explain your problem, you will need to learn more about command prompt, because it is in fact possible to create the "con" directory in the desktop folder as well as any folder.

Can you explain why do you want to create con folders on the desktop? Because to my understanding the only reason you would want to do this is if you want the user to not be able to delete that file from their desktop, especially in a secure environment with policies where you got into cmd by using "the many work arounds that exist around the server security policies"

Anyhow to answer your question, you need to put " around documents and settings for the command to work, thus... md \\.\C:\"Documents and Settings"\admin\Desktop\con

Windows Command Prompt cannot interpret empty spaces, it treats it as a separate command, in other words the path you were specifying did not exist.

Much like (if you played Half Life and Counter-Strike) the valve engine will only interpret spaces if you use a % sign.

Well hope that semantically explains your question =)

Regards,

Cyberdyne
-=Windows and Networking MOD=-
Mar 29 '07 #2

P: 2
Mr.Cyberdyne I Thank You for ur kind reply.
As u said my need is to want the folder to get not deleted.
And I will learn the commands as soon as possible.
But in ur reply I got a doubt in the sentence following.
"the many work arounds that exist around the server security policies".

Do i need to configure any server security policies before creating the "con" folder. If Yes then Could u reply me what to configure or could u give me some links where i could learn more about it. And also give me some links where I could Learn windows command semantically.

Regards VELU
Mar 30 '07 #3

Cyberdyne
Expert 100+
P: 627
Velu please refer to the following LINK and start learning commands semantically=)

If you are advanced enough to setup security policies on a server it would be nice if you could provide us with name of your server operating system.

Regards, Cyberdyne.


Mr.Cyberdyne I Thank You for ur kind reply.
As u said my need is to want the folder to get not deleted.
And I will learn the commands as soon as possible.
But in ur reply I got a doubt in the sentence following.
"the many work arounds that exist around the server security policies".

Do i need to configure any server security policies before creating the "con" folder. If Yes then Could u reply me what to configure or could u give me some links where i could learn more about it. And also give me some links where I could Learn windows command semantically.

Regards VELU
Mar 30 '07 #4

P: 1
Creation of CON folder finally demystified LOOK AT THIS
July 4, 2008 - 2:49pm
M.dinesh (not verified)

my name is M.Dinesh, from Coimbatore, south india.
I am studying in RVS college of arts and science, III-Bsc(CS).
I had found out how to create con folder in desktop.

Many of them said it is failed(Creating con folder in desktop).
But It's very simple..

But myself and my Uncle P.Chandrasekar(System Admin in RVS CAS,Sulur,Coimbatore) found this

go to DOS prompt

By default it will display as,

C:\Documents and Settings\Administrator> following this you have to type the following commands,

C:\Documents and Settings\Administrator>md\\.\\"C:\Documents and Settings\Administrator\desktop"\\con

This is not fake....
I have found out myself on my own interest.

I am sure that this stuff really works...

check it out...

We have also found how to copy files into that CON folder....

Will be updated soon....
Jul 4 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.