|Here's what I ran, cut/pasted from your last post:|
For /d %%a in (D:\USERDATA\*) do if not exist %%a\*.id >> results.txt echo %%a
I created D:\USERDATA, and put three subdirs (including spaces in their names just in case). In two, I put a .id file, and the other one not. The test worked, resulting in one when "NOT", and the other two without the "NOT, so I'm stumped. Have you tried M2's version?
message edited by nbrane