• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

batch script question...

Homerboy

Lifer
I have a jpg I need to make ~300 copies of.
Lets say its ABC.jpg
I want to copy it 300 times into 1.jpg, 2.jpg, 3.jpg... 300.jpg

Any way to do this with a batch script? Or any other easy way you can think of?

Thanks.
 
This is one way I know to do it in vbscript. Save the following as a .vbs file and put the file in the same directory as the ABC.jpg file. Then run it by double-clicking it.


Set objFSO = CreateObject("Scripting.FileSystemObject")
For i = 1 To 300
objFSO.CopyFile "ABC.jpg", i & ".jpg"
Next
 
Back
Top