[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to execute mkdir from the run command

Posted on 2012-09-10
7
Medium Priority
?
1,023 Views
Last Modified: 2012-09-15
I am trying to excuted mkdir c:\test from the run command off the start menu however I'm getting "windows can not find mkdir".

This works fine from a command prompt but I'm thinking I have to include a full path to mkdir in \windows or \windoes\system32 but don't know what shell or other executable controls mkdir.
0
Comment
Question by:thandel
7 Comments
 
LVL 6

Expert Comment

by:aadi369
ID: 38385350
Examples

md test

The above example creates the "test" directory in the current directory.

mkdir "computer hope"

The above command would create a directory called "computer hope", if you want a space in your directory name it must be surrounded in quotes.

md c:\test

Create the "test" directory in the c:\ directory.


Also refer below link for more details:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/mkdir.mspx?mfr=true
0
 

Author Comment

by:thandel
ID: 38385357
If I enter the command md c:\test or md "c:\test" windows still errors with "can't find 'md'.

I'm not sure what I'm doing wrong.
0
 
LVL 12

Assisted Solution

by:Amick
Amick earned 800 total points
ID: 38385366
try prefacing the command with cmd:

cmd mkdir
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:thandel
ID: 38385371
That just opened a cmd window at a prompt without any execution of a command.
0
 

Accepted Solution

by:
thandel earned 0 total points
ID: 38385400
I've got it:

cmd /c "mkdir c:\test"
0
 
LVL 9

Expert Comment

by:expert_tanmay
ID: 38385530
Create a batch file e.g exp.bat
in the batch file write the command mkdir c:\test
execute the batch file.
Similarly you can also create a vb script file to create a directory.
0
 

Author Closing Comment

by:thandel
ID: 38401371
solution found
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question