Apologies if this is a real noob question, but I havent been able to find anything elsewhere.
All I'm trying to do is to have a for statement (or something similar so that I can call another function) that returns all the *.bat files recursively from the current directory, ensuring that filenames with spaces are handled properly (example should echo full path and filename including spaces) i.e.
for each file of type *.bat from current directory, "dir /B [filename]" the found file. This obviously isnt what I'm trying to do, just proves the spaces are handled correctly.
Thanks in advance
Recursive find with spaces in filenames
Moderator: DosItHelp
-
- Expert
- Posts: 391
- Joined: 19 Mar 2009 08:47
- Location: Iowa