Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1678

FOR command: /Q option to add quotes to the expanded variable.

$
0
0
I use a lot the FOR command in the TCC command line to process sets of files (to check on them, move them around, etc.). A quickly typed command does well and good... until a filename containing spaces shows up, which produces wonky results. For example:

1705158784840.png


Sometimes, it's an unexpected result (as above), sometimes is a "file not found" error per offending file, et cetera. Yes, it's a simple matter of placing quotes around each occurence of the variable name ("%A", in...

Read more

Viewing all articles
Browse latest Browse all 1678

Trending Articles