Reputation: 33
I am new to batch files and i want to create a batch file that will
Here is what i have so far:
ECHO off
ECHO CREATING NEW DIRECTORY AND FILE....
md "C:\Users\Paul\Desktop\System software"
echo.>"C:\Users\Paul\Desktop\systemsoftware.txt"
MOVE "C:\Users\Paul\Desktop\System software" "C:\Users\Paul\Desktop\desktop\systemsoftware.txt"
ECHO Complete
PAUSE
This creates two folders but places both on the desktop and not in a single folder.
Upvotes: 3
Views: 119
Reputation:
Following the required behaviour you described the following will do:
ECHO off
ECHO CREATING NEW DIRECTORY AND FILE....
md "C:\Users\Paul\Desktop\System software"
echo.>"C:\Users\Paul\Desktop\System software\systemsoftware.txt"
MOVE "C:\Users\Paul\Desktop\System software" C:\Users\Paul\Desktop\desktop\System software 2"
ECHO Complete
PAUSE
You have
Upvotes: 2