i need help, my backup batch file doesn't backup. I have it copy my documents to a folder and then it ask me where to back it up. when i select E:\(DVD Burner) it said location not found or something and when i choose F:\(Flash Drive) its the samething. I got Vista.
heres my code.
@echo off
title Backup Files to Temporary Location
echo Gathering files.......
echo Please wait.
copy C:\Users\Owner\Documents "C:\Users\Owner\Documents\backupstore\" /V /Y
cls
echo.
ECHO 1.Burn to CD
ECHO 2.Move to Flash Drive(:G)
set dir=
set /p dir=Choose a Directory
if '%dir%'=='1' goto Burner
if '%dir%'=='2' goto Flash Drive
ECHO "%choice%" Invalid Directory
ECHO.
:Burner
title Burning Backup disc....
echo Moving Backup Data to CD Burner...
copy C:\Users\Documents\backupstore\ E:\
goto end
:Flash Drive
title Backing up file to Flash Drive
echo Moving Backup Data to Flash Drive
copy C:\Users\Documents\backupstore\ "G:\Documents\Backup\" /V /Y
end
:end
ECHO Backup completed!
pause
exit