rookie169 January 28, 2010 at 12:33:41 Specs: Windows Vista
I have a batch file that will backup user files from a desktop pc to an external hard drive. I want to add code to request user input to ask them what their external hard drive letter is and pass this input to replace the hard coded drive letter in the script. Here is a copy of the backup script: Robocopy "%userprofile%\Desktop" "F:\%username%\Desktop" /E /R:0 /W:0 /LOG+:BACKUP.TXT Robocopy "%userprofile%\Documents" "F:\%username%\Documents" /E /R:0 /W:0 /LOG+:BACKUP.TXT Robocopy "%userprofile%\Favorites" "F:\%username%\Favorites" /E /R:0 /W:0 /LOG+:BACKUP.TXT
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.