A person I know who is not very good with computers wants to have an easy way of backing up important files on Windows, with the ideal process being:
- Plug in USB drive
- Click on Desktop shortcut
- Have important files transferred to USB
Is there a free Windows Vista program that lets me easily do this?
If not, I can write a Batch file. Is xcopy /e /y
the recommended command for such a thing?
This is the batch file I ended up writing, using robocopy
:
@echo off
if not exist L:\nul goto DriveDoesNotExist
echo msgbox "Daten werden gesichert..." > "%temp%\popup.vbs"
wscript.exe "%temp%\popup.vbs"
robocopy C:\Daten L:\ /s /xj /eta /r:10 /w:10
removedrive.exe L:\ -b
echo msgbox "Fertig! Sie können den Stick jetzt entfernen." > "%temp%\popup.vbs"
wscript.exe "%temp%\popup.vbs"
exit
:DriveDoesNotExist
echo msgbox "Erst den Stick einstecken!" > "%temp%\popup.vbs"
wscript.exe "%temp%\popup.vbs"
exit
Thanks for any responses.