batch rename *.doc to *.doc.z

February 26, 2009 at 05:23:04
Specs: Windows XP
I'm looking to add .z to files with .doc and .pdf

I’ve tried xcopy C:\temp\*.* C:\temp2\*.Z \E

After running the above script the files in temp2 are 100000.z, 200000.z and missing the .doc extension!

What I want is temp2 to show 10000.doc.z
I need it to rename sub directories as well


See More: batch rename *.doc to *.doc.z

Report •


#1
February 26, 2009 at 13:03:49
Try xcopy C:\temp\*.doc C:\temp2\*.doc.Z \E


Report •

#2
February 27, 2009 at 01:24:48
there are other formats in the folders for example .pdf.

"xcopy C:\temp\*.doc C:\temp2\*.doc.Z \E"

will only rename .docs


Report •

Related Solutions


Ask Question