3/22/2023 0 Comments Windows 10 copy log![]() ![]() I have saved a text document (called " SD-logfile") in the location on C: drive that I have used for the backup batch file - namely: /log: C:\Users\Phil\Documents\COMPUTER STUFF\AUTO BACKUP to SD CARDĭo I have to append " /log: C:\Users\Phil\Documents\COMPUTER STUFF\AUTO BACKUP to SD CARD\SD-Logfile" Robocopy "C:\Users\Phil\Videos" "?ckupDrive%\My Videos" /S /R:3 /MT:1 /DCOPY:DAT /XA:SH /MIR /W:3 Robocopy "C:\Users\Phil\Pictures" "?ckupDrive%\My Pictures" /S /R:3 /MT:1 /DCOPY:DAT /XA:SH /MIR /W:3 Robocopy "C:\Users\Phil\Music" "?ckupDrive%\My Music" /S /R:3 /MT:1 /DCOPY:DAT /XA:SH /MIR /W:3 Robocopy "C:\Users\Phil\Downloads" "?ckupDrive%\Downloads" /S /R:3 /MT:1 /DCOPY:DAT /XA:SH /MIR /W:3 My batch file has 25 lines in it - such as Reading up about Robocopy, I found the command /log: where the status output can be directed into a text file. What I noticed was that when scolling back up the screen log not everything was included - only the last parts of the whole operation - and I couldn't find the infomation about the error I had spotted - so I ran the batch file again and used Fn Pause at the appropriate time to see the error. All * seemed* to be well until I happened to glance at the screen one day and I saw an error flash by (which I subsequently tacked down) - this, however, isn't my issue. ![]() I have been tinkering on and off with the Robocopy command to copy essential documents and files to an SD Card automatically, several times a day (this after my wife's laptop with SSD went belly-up and she lost her most recent work).Īt the moment, there is a 'Pause' command to allow me to look at how Robocopy is behaving. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |