Search found 3 matches
- 2011-05-17 18:03:08
- Forum: Ant Renamer > Help
- Topic: Recursion
- Replies: 3
- Views: 2213
Recursion
I've solved my problem for now, by launching my batch file with the sub-directory names as replaceable parameters, and looping (using 'shift') through each sub-directory in turn. This means Renamer has to run as many times as there are sub-directories, so it's not an ideal solution particularly as ...
- 2011-05-17 12:20:05
- Forum: Ant Renamer > Help
- Topic: Recursion
- Replies: 3
- Views: 2213
Recursion
Thanks, antp - at least I now know I haven't misunderstood the syntax!
This a great piece of software, and the answer to many of my prayers - just not my most important one, alas!
Will play around with a few batch file tricks to see if I can work round the issue pro tem (?possibly by piping output ...
This a great piece of software, and the answer to many of my prayers - just not my most important one, alas!
Will play around with a few batch file tricks to see if I can work round the issue pro tem (?possibly by piping output ...
- 2011-05-16 14:24:48
- Forum: Ant Renamer > Help
- Topic: Recursion
- Replies: 3
- Views: 2213
Recursion
I'm trying to use the recursion function (-r) in a (Windows) batch file:
-afr Drive\path\*.* acts on the whole sub-directory tree, renaming every file
-afr Drive\path\*.txt only acts on the .txt files in the specified directory.
Is this by design? Not how /s switch would work in Windows commands ...
-afr Drive\path\*.* acts on the whole sub-directory tree, renaming every file
-afr Drive\path\*.txt only acts on the .txt files in the specified directory.
Is this by design? Not how /s switch would work in Windows commands ...