3 ms·
To be more precise, besides the warning on SS64 site, check also this: https://renenyffenegger.ch/notes/Windows/registry/tree/HKEY_CURRENT_USER/Software/Micros
by jaclaz 5y ago
To be more precise, besides the warning on SS64 site, check also this:
https://renenyffenegger.ch/notes/Windows/registry/tree/HKEY_CURRENT_USER/Software/Microsoft/Command-Processor/index https://renenyffenegger.ch/notes/Windows/registry/tree/HKEY_...
TLDR is that for /f loops do spawn a child cmd.exe process and you won't like the result (recursiveness).
- banana_giraffe 5y agoThat's one I hadn't seen before, and would assuredly cause fun. The common one I've seen surprisingly often is the autorun script doing "cd" and causing for /f loops to break in some way.