By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Done Automatic quoting of directory and file names

There are many instances when various commands, esp. FOR and DO, return a
file or directory name which requires to be quoted for further processing.
It would save a lot of head scratching and debugging if there were a method
to force such names to be automatically quoted. Unfortunately the very same
commands often have too many options already, yet this is one that would be
very valuable. In both FOR and DO this option would be useful whenever the
control variable is set to 1/ a file name, OR 2/ a line from an indirect
file ("@file"), OR 3/ a line from a command output (backquoted command in
FOR, /P in DO). I'd like a new command option for each of DO and FOR for
this purpose.

Similar threads