473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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
4 5169
Cyberdyne
627 Expert 512MB
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
ervelu
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
627 Expert 512MB
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
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

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

Similar topics

26
by: Dan Nash | last post by:
Hi guys I have a page that is *supposed* to list the directories on the server. Here's the code... folderspec = server.MapPath("./images/") set fso =...
3
by: STB | last post by:
Salve Ragazzi!!! ho un problema che non riesco a risolvere e spero di riuscirci con il vostro aiuto... dunque.. ho un file csv tipo questo ...
4
by: Liber | last post by:
¿Se puede ejecutar scripts con C# al igual que podía con VBScript? Con VBScript escribo codigo en un archivo .vbs o .vbe y lo ejecuto, ¿como puedo hacer esto con C#, pues hago un .cs pero no se...
1
by: CarpetMnuncher! | last post by:
whats wrong with this ? access 2000 Set Con = Server.CreateObject("ADODB.Connection") Con.Open strCon sql = "Select uName, pword from settings WHERE uname = 'kenney"&...
0
by: Abraham Echenique Carta | last post by:
Hola. Tengo una ventana con un objeto WebBrowser (.Net 2.0)... resulta que cuando estoy navegando con él y hay un link con target='_blank', me abre una ventana de Internet Explorer y necesito...
0
by: Jay | last post by:
Following the help documentation, I can only get the report.Load method to work if I type in the full path. By toggling the commented line below, it proves that the report will open only when the...
1
by: diaboliko80 | last post by:
Salve a tutti. Ho un problema con IE7. Ho implementato una pagina .asp che tramite tecnologia AJAX mi crea una serie di select nidificate (il classico esempio delle Regioni-Province --scelgo...
4
by: DanThMan | last post by:
The following code works when I debug and when I install the software and run the .exe, but if I try to open the form in the designer (which causes this code to run), I get an error: Private Sub...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.