Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,727 of 42,547    |
|    foxidrive to Todd Vargo    |
|    Re: FOR /F and delims=\ string processin    |
|    15 Aug 13 10:05:47    |
      From: not@this.address.invalid              On 15/08/2013 07:40, Todd Vargo wrote:              >> For me trying to understand the command line, I ask what does the "\."       suffix do?              Thanks Todd, for supplying the answers. The \. sets the current folder at the       end of the path, for when       the path has a trailing \ so that it then also returns the correct folder.                     >> I also noticed I can eliminate "delims=" and get the same results for that       path. But it breaks if there are spaces (like C:\a\b\c c\d), so I am I right       that "delims=" sets the delimiter to "nothing?" (Meaning, there are no       delimiters, take the whole        string.)       >       > The \. does not do anything in this case and can be omitted. In a       > general sense, it refers to the current folder which is already provided       > by the %cd% variable. And you are correct about the purpose for "delims=".       >       > Type FOR/? at the prompt for further information.       >                     --       foxi              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca