1.

Solve : copy & rename?

Answer»

Hi EVERYONE,
I'm looking for some help with a copy/RENAME problem. I have a series of files (.shp,.shx,.dbf) that sit in a series of uniquely named folders
eg FPP_maps/LJS_Highlands/FPP_newroads.(shp).(shx).(dbf)
FPP_maps/LJS_East/FPP_newroads.(shp).(shx).(dbf)
FPP_maps/HJN_Porters/FPP_newroads.(shp).(shx).(dbf)

What I'd like to do is copy all the files to one location. My problem is that all the files are named the same and I can't rename them in their current location. I what I need the batch file ito do is copy and then rename the files in a sequential order. If it was the other way AROUND IE rename then copy I could do that.

Anyone got any ideas - any help would be greatly appreciated

Thanks
Helena


What is the current location here means ?
What is it referred to ? ie., the copied folder or copying folder ?

If it is the copying folder you can easily rename the files and then copy them into one location. There's no problem.

If it is the copied folder it hasn't permitt you to copy the file that has the same name. Bcoz the file names should be UNIQUE in the folder. You can copy the files with same name if they have different extension. The command will ask you to overwrite the previous file if you want to forcely copying.



Discussion

No Comment Found