Search found 3 matches

by xteenf
23 Aug 2012 03:06
Forum: DOS Batch Forum
Topic: How to use FOR /R with wildcards
Replies: 5
Views: 3293

Re: How to use FOR /R with wildcards

for /f... and "delims=" ensures that no delimiters are applied so the output from the command is not altered.

Oh .. that makes sense now, thanks foxidrive. I was reading it 'use default delimiter'. Thanks again, great forum.
by xteenf
22 Aug 2012 15:32
Forum: DOS Batch Forum
Topic: How to use FOR /R with wildcards
Replies: 5
Views: 3293

Re: How to use FOR /R with wildcards

Hi foxidrive. Thank you for replying. I admit the penny hasn't really dropped yet .. I had a mishap earlier and hard deleted a lot of stuff by accident. I think I'll practice only on the library computers in future Can you explain why the caret symbol is needed in your first example? Is it the escap...
by xteenf
22 Aug 2012 07:52
Forum: DOS Batch Forum
Topic: How to use FOR /R with wildcards
Replies: 5
Views: 3293

How to use FOR /R with wildcards

Hi. This looks like a really good forum. Big hello to everyone. I'm trying to understand the dos for loop. This works .. for /r d:\ %a in (redcar) do rmdir /s /q %a but this doesn't for /r d:\ %a in (*dcar*) do rmdir /s /q %a and this definitely doesn't work for %a in (dir d:\ | find /i /n "dca...