Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,047 of 42,547    |
|    foxidrive to Tom Sr    |
|    Re: Xcopy batch file for backup    |
|    13 Dec 14 12:09:33    |
      From: foxidrive@server.invalid              On 13/12/2014 09:24, Tom Sr wrote:       > Windows 7 results, to be deployed in win xp pro v3       >       > This batchfile's line after Echo 1 produces and error and the second line       works fine. What is the problem with the line as described above????       >       > @Echo off       > :: variables       > ::Set drive=E:\Backup       > Set drive=f:\xbackup       > Set BackUpCmd=xcopy /s /e /h /c /d /i /r /k /y       > Echo 1. Backing up My Documents...       > %BackUpCmd% "%USERPROFILE%\My Documents" "%drive%\MyDocuments"       > @Pause       > Echo 2. Backing up Passport Business Solutions       > %BackUpCmd% "c:\PBSV1202" "%drive%\PBSv1202"       > Echo Backup Complete! ... Hit any key ...       > @Pause       >       > Error Message as below:       >       > 1. Backing up My Documents...       > Access denied              This error above means your user account does not have the permissions to       access a folder              > Unable to create directory - F:\xbackup\MyDocuments              and so it cannot create this folder.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca