Re: writing backup .bat file
Hey YZF,
The file sharing violation is because Windows would be actively using most of those files, folders and settings in order to function properly, most importantly, the Registry.
You can do one of two things:
a)
As long as the "tobias.ericsson" folder has not been made private, you can create a new account (My Computer, Control Panel, User Accounts), and run that script whilst logged on with a different account.
b)
Alter the script to backup the files and folders you really need, and not all the junk that comes as part of your profile. An example maybe:
XCOPY "C:\Documents and Settings\tobias.ericsson\my documents\*" "E:\Backup\tobias.ericsson\my documents" /e /m /i
XCOPY "C:\Documents and Settings\tobias.ericsson\desktop\*" "E:\Backup\tobias.ericsson\desktop" /e /m /i
XCOPY "C:\Documents and Settings\tobias.ericsson\favorites\*" "E:\Backup\tobias.ericsson\favorites" /e /m /i
Last edited by madmonkey : 04-08-2008 at 08:12 PM.
|