Felix
09-17-2000, 02:08 AM
Hi folks,
I'm back for a little wile. Baby daughter is growing up, Family is consuming almost all of my time... But it's definately worth it! :)
So here's my question:
I want to code a DOS batch file which xcopies the setup files from the windows cd to the hard drive. Since the source drive (cd rom drive) and the target drive vary in each case I want to get this data from user input.
In Basic I would do it something like this:
input SourceDrive
input TargetDrive
SourcePath=SourceDrive+"\Win95\*.*"
TargetPath=TargetDrive+"\Setup\Win95\"
xcopy SourcePath TargetPath /s /e
How do you this in a DOS batch file? Any help is highly appreciated. Thank you all!
I'm back for a little wile. Baby daughter is growing up, Family is consuming almost all of my time... But it's definately worth it! :)
So here's my question:
I want to code a DOS batch file which xcopies the setup files from the windows cd to the hard drive. Since the source drive (cd rom drive) and the target drive vary in each case I want to get this data from user input.
In Basic I would do it something like this:
input SourceDrive
input TargetDrive
SourcePath=SourceDrive+"\Win95\*.*"
TargetPath=TargetDrive+"\Setup\Win95\"
xcopy SourcePath TargetPath /s /e
How do you this in a DOS batch file? Any help is highly appreciated. Thank you all!