AAaron123 said:
I saw the following.
Is that another way of executing two commands?
...snip... do (
echo Checking and possibly decompressing "%%a"
compact /u /i /a "%%a"
)
That is another way. It is grouping or blocking of command. You can do
it in the 'if' command, too.
As I understand it you think it would work the same without "delims=". Yes?
In a couple test cases, I saw no difference in the filespec output or in
parsing it to the replaceable parameter. It is possible that it would
have an effect when you nest multiple commands to, for example, have a
for-loop use the default delims instead of the one specified in a parent
for-loop. While you could use "delims= " to go back to using the space
character as a delimiter, specifying the default tab character could be
problematic in entering it into the delims string and users that read
the code seeing just a bunch of whitespace and not knowing what was
really there.