|
Answer» I am attempting to write a .BAT FILE to be used on a Windows XP Pro machine. I want to be able to copy (backup) files that are on a mapped network drive to a USB Flash Drive.
Initially I am writting a .bat file to copy the entire dirctory from the mapped network drive to a folder on my computer. Once I get the .bat file to do what I want I will change the drive LETTER and location to repflect the location of the USB Flash Drive.
Here is the file that I have written but won't do what i want.
xcopy I:\Backup "." C:\pb /s/h/i/r/c/y/ exit
The name of the file is Remotebu.bat. When I click on it the MS-DOS window flashes and the files are not coies. I am not sure what I am doing wrong.
Any help would be aprreciated.Try this
xcopy I:\Backup\*.* C:\pb /s/h/i/r/c/yThank you 2k_dummy. Adding the "\" did the trick.
|