|
Answer» Well im new to dos, and im trying to make an bach file for a auto start cd, that im working on. when the auto cd opens up it first opens the bach file.
I cant seem to figure out how to make a new folder (called ranger) APPEAR on the C:/ drive.
Then i need to transfer a folder and all of its contents to c:/.(called ranger1) from the CD.
I was able to GET all the files to transfer from the CD to the C:/ but not in the folder(ranger1)
Can anyone help
While editing your batch file:
MD Ranger (makes a directory called ranger)
Copy D:\Directory\filename C:\ (Where D:\ is your Disk Drive and C:\ is the root of your HD)
HOPE that helped.
Jif you are operating from a CD in drive D and you want to copy files from it use this as an example
say the folder you want to copy is called copythis
and the folder you want to copy it to on the c drive is called. tohere
you cannot just put the command MD, but rather
md c:\tohere
you do not see anything at that point
then it would be visually logical to you, although not necessary to change the directory on your D drive by
cd \copythis
then ISSUE the command copy *.* c:\tohere
if there are subdirectories in copythis use the command xcopy *.*/s c:\tohere and all the subdirectories will be copied with all their contents
|