Damian,
I would do this from a command window.
To purge all your folder do try this.
Make a list of the subfolders, I assume they are all one level below a top
level folder. If this is true the code would be as follows.
open a command window
change directory to the top level folder and enter the line below
dir /a:d /b > myFolders.txt
This will create a text file in the top level folder that lists all of the
subfolder.
enter the following line in the command window.
Run purge command in each folder Make sure PATH variable includes the path
to the ProE purge command found in the bin dir
Assuming the folders have no spaces in their names enter the line below to
do the renaming
for /f "tokens=1" %a in (myFolders.txt) do cd /d <full path=" to=" top=" level=" <br="/>folder>\%a && purge
If the folder do have spaces in their names enter the line below to do the
renaming
for /f "tokens=1*" %a in (myFolders.txt) do cd /d <full path=" to=" top=" level=" <br="/>folder>\%a %b && purge
Finally do the renaming, if folders do not have spaces in their names
for /f "tokens=1" %a in (myFolders.txt) do cd /d <full path=" to=" top=" level=" <br="/>folder>\%a && for /f "tokens=1-3" %b in ('dir /b *.prt.* *.asm.* *.drw.*')
do rename %b.%c.%d %b.%c.1
Finally do the renaming, if folder have spaces in their names
for /f "tokens=1*" %a in (myFolders.txt) do cd /d <full path=" to=" top=" level=" <br="/>folder>\%a %b && for /f "tokens=1-3" %c in ('dir /b *.prt.* *.asm.*
*.drw.*') do rename %c.%d.%e %c.%d.1
Hope this help,
If you have any questions please feel free to get back to me an we can
discuss.
David