thandel
asked on
How to execute mkdir from the run command
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.
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.
ASKER
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.
I'm not sure what I'm doing wrong.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That just opened a cmd window at a prompt without any execution of a command.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
ASKER
solution found
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