1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automatic quoting of directory and file names

Discussion in 'Suggestions' started by Steve Fabian, Apr 11, 2010.

  1. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,520
    Likes Received:
    4
    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.
    --
    Steve
     

Share This Page