|
Answer» Hi, I have these commands in a batch file to copy Thunderbird archive EMAILS to an external disk. For testing, I am running them from a DOS cmd prompt.
Set InPath="C:\Users\Owner\AppData\Roaming\Thunderbird\Profiles\2l2fhjja.default\Mail\Local Folders\Archives.sbd\2013.mozmsgs" Set OutPath=\\EXTERNALDRIVE\Public\BackUp-Email\Sue-Email-Bkup\2013 Robocopy %InPath%\ %OutPath% /COPY:DATS /Log:EmailBkupLog.txt
I get error 123 (0x0000007B accessing source directory C:\Users\Owner\AppData\Roaming\Thunderbird\Profiles\2l2fhjja.default\Mail\Local The file name , directory name or VOLUME label is incorrect
The error is because Robocopy is not parsing Local Folders correctly because of the blank after Local I have tried the following two sets of quotes Set InPath="C:\Users\Owner\AppData\Roaming\Thunderbird\Profiles\2l2fhjja.default\Mail\"Local Folders"\Archives.sbd\2013.mozmsgs"
and-no quotes Set InPath=C:\Users\Owner\AppData\Roaming\Thunderbird\Profiles\2l2fhjja.default\Mail\Local Folders\Archives.sbd\2013.mozmsgs
and-entire path in quotes Set InPath="C:\Users\Owner\AppData\Roaming\Thunderbird\Profiles\2l2fhjja.default\Mail\Local Folders\Archives.sbd\2013.mozmsgs"
and this- I get no destination directory specified because of the quote around Local Folders Set InPath=C:\Users\Owner\AppData\Roaming\Thunderbird\Profiles\2l2fhjja.default\Mail\"Local Folders"\Archives.sbd\2013.mozmsgs
I need HELP in correctly specifying the input path. Thanks Frank C Win Vista Ultimate64 bit sp2Greetings Frank,
Quote Robocopy %InPath%\ %OutPath% /COPY:DATS /Log:EmailBkupLog.txt Try dropping that backslash '\' and using:
Robocopy %InPath% %OutPath% /COPY:DATS /Log:EmailBkupLog.txt
Best wishes!Thanks for the reply OcalaBob, That fixed it. I ALSO had to put both paths in quotes because of the UNC ADDRESSING for the external drive. I fought that battle once before. Regards FrankGC
|