Please help: Batch file backup

Status
Not open for further replies.

Canadian

Posts: 76   +0
I just started working at the local computer store, and when we backup users data we usually just grab the favorites, documents, desktop, and the Outlook Express database. We copy these to an external.

I would like to create a batch file I can just put in the destination folder on the external, and have it copy all the current users data for me. How would I do that?
I tried using the %userprofile% but it doesn't seem to work when you dont have drive c: selected.


Thanks.
 
describe the partitioning of the local system, which drive letter is the boot device
and where the userprofiles are located.

the %USERPROFILE% contains the %HOMEDRIVE% and thus 'should' be correct
for all cases.

did someone hack the environment vars on the system?
 
then the Boot drive and all user profiles are on C:\

so what's wrong with %USERPROFILE% when you access it in the bat file?
hint; use rem %USERPROFILE% to show the value or just
run->cmd and then enter SET to see the value
 
Status
Not open for further replies.
Back