If I want to run the command
md5deep -rb . | find /I ".jpg" | sort > local.md5
and I run it from the command prompt, it shows exactly like how I typed, but when I put it in a .bat file and run that, this is what I see:
md5deep -rb . | find /I ".jpg" | sort 1>local.md5
It seems that it inserts tabs before |
and it turns >
into a 1>
. Why? First I thought that it's something to do with the encoding, but the file is just a simple ANSI file.
Does it have anything to do with @@
turning @
inside .bat files?