09-03-2009, 16:48 | #21 |
Absinthe
Join Date: Sep 2007
Location: Leighton Buzzard
Posts: 1,282
|
Super-mega-licious-bumpeh!
Finally got this to work. I wanted to copy my music from my PC to my external HDD so I was up until 4am this morning getting my batch file to work. First problem was the old "'`╗┐robocopy.exe' is not recognized as an internal or external command, operable program or batch file" from a few posts back. Since the bat file WASN'T called robocopy.bat I knew this was a silly error somewhere. I finally fixed that but when I twigged I could get robocopy to export a log to a text file AND show me the progress on screen I couldn't understand why whatever file I selected, at random for testing, couldn't be accessed. The 'source' files were there, weren't hidden or read only. So I tried the /B and /ZB flags. Robocopy now tells me I don't have the backup privileges. Cue muchos "Huh? Je suis le admin de la ordinateur merci bien!". So I checked out my account just to be sure. Yup I'm OK. So I tried more files to copy over and still can't access them. Then something tells me that since I'm sure the source is OK, I might want to check the destination. Spent a few minutes fiddling and faddling around. Then I check my permissions on the external HDD. Hmm, nothing ticked in the boxes at all. Theoretically I can't write or read to this damned external HDD. So I tick all the boxes and run Robocopy again. IT WORKS!!!! So I then copy my 37.7Gb of music from source to destination in almost exactly about 30 minutes. |