Jump to content

Recommended Posts

Posted

iv made a folder in my desktop

named it a1

i need to be able to copy and paste that folder hundreds of times

but when i paste the folder again i want it to be named

a2, a3, a4, a4 etc etc

is there any way of doing this

thank you

Posted

I don't think there is a way to do it the way you want it to be done. In a funny way there is and it works great if you want to rename every family photo with a general tagging convention.

 

The way I do it is to highlight every folder - in my case it's photos - and right-click over the very first folder to rename it. Give it the name 'A1' and you'll see every folder being renamed in this fashion: A1, A1 (2), A1 (3), A1 (4), A1 (5) etc. I know it's not what you wanted but it's sort of half-way of getting there.

Posted

Is there any contents that you need to copy as well or is it just a folder?

 

If nothing in the folder then you should be able to script it with:

 

md A1

md A2 etc

Posted

If this is a one time thing use excel to generate you a nice long list of

 

xcopy a1 a2 /E /I

xcopy a1 a3 /E /I

 

etc

 

My batch loop knowledge is poor.

Posted (edited)

How about this vbs script (copy to txt file, modify file locations, modify 'Do Until x = ' to however many folders you want (+ 1 extra), rename file to copy.vbs, then just double click it)

 

Const OverWriteFiles = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")

x=2
Do Until x = 101
objFSO.CopyFolder "C:\a1" , "C:\a" & x , OverWriteFiles
x = x+1
loop

Edited by HilcrRWise

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...