Folks;
I now have a working batch file so you can consider this post closed.
Thanks
Search found 2 matches
- 24 Jan 2014 17:09
- Forum: DOS Batch Forum
- Topic: need help with wrapping a loop around the following code
- Replies: 3
- Views: 1770
- 24 Jan 2014 06:55
- Forum: DOS Batch Forum
- Topic: need help with wrapping a loop around the following code
- Replies: 3
- Views: 1770
need help with wrapping a loop around the following code
I have the following dos batch code that works fine for me as it is, but I need to wrap it in a loop that searches for the folder on all system drives and if it doesn't find the folder it exits: cd \ echo for /f "tokens=1,2 delims=:" %%A in ('dir /d MyOFFSetupFiles ^| findstr "\<Direc...