S
Sid Knee
I have a simple batch file (propurge.bat) which is constructed as follows:
cd %1 %2 %3 %4 %5
purge.bat
It takes a directory name which is passed in the variables %1, %2 ...
etc (takes care of spaces in the directory name) and runs the second
batch file, purge.bat, on the contents of that directory (deletes any
cad backup files).
As written, of course, it only works at a single directory level. Can
anyone advise me how to go about constructing a similar batch files that
would carry out the purge in the indicated directory and all
subdirectories (and sub-subdirectories etc)?
cd %1 %2 %3 %4 %5
purge.bat
It takes a directory name which is passed in the variables %1, %2 ...
etc (takes care of spaces in the directory name) and runs the second
batch file, purge.bat, on the contents of that directory (deletes any
cad backup files).
As written, of course, it only works at a single directory level. Can
anyone advise me how to go about constructing a similar batch files that
would carry out the purge in the indicated directory and all
subdirectories (and sub-subdirectories etc)?