Decomposing file paths (and extracting other information like file size, date and time, and attributes) from a batch file August 3, 2017 Aug 3, 2017 08/3/17 Raymond Chen FOR to the rescue.
Why does attempting to echo an undefined environment variable result in the message “ECHO is on”? August 2, 2017 Aug 2, 2017 08/2/17 Raymond Chen Because that's what happens when you echo nothing.
The redirection can come anywhere on the line, and you can use that to get rid of the spaces August 1, 2017 Aug 1, 2017 08/1/17 Raymond Chen Up front and personal.