RoboCopy Log Files missing whitespace?
- by TwystNeko
So I'm working on a script to use RoboCopy to copy a bunch of files, and log what it's copied.
It works reasonably well, except for the logfiles. They tend to look like this:
C:\Users\Tech\Documents\desktop.initechscan1.jpgtechscan2.jpgtechscan3.jpgtechscan4.jpgtechscan5.jpgwsus.jpgwsus2.jpgC:\Users\Tech\Documents\My Music\C:\Users\Tech\Documents\My Pictures\C:\Users\Tech\Documents\My Videos\C:\Users\Tech\Documents\My Digital Editions\
As you can see, the log seems to be missing all whitespace and separators between entries. Is there something I can do to fix this? It's kind of frustrating.
The commandline I'm using is this:
C:\Users\Tech\Desktop>Robocopy.exe C:\Users\Tech\Documents c:\Temp /e /l /b /xj /xf ntuser.* desktop.ini *.lnk /np /njh /log:migratedfiles.txt /v
I have the /l in there since I'm debugging, and it's the easiest way to keep from copying everything a million times.