Computing.Net > Forums > Programming > Batch Copy & Rename without overwri

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch Copy & Rename without overwri

Reply to Message Icon

Name: JamieIRL
Date: July 12, 2005 at 06:21:41 Pacific
OS: WinXP / Win2000
CPU/Ram: 512
Comment:

Hi, I have a file called Sample1.ppt. I need to copy this file and create 100 copies in one location (same directory) and have the file name change to Sample2.ppt, Sample3, Sample4 etc.... Can a Batch file do this simply?? Can Anyone Help Please!!

Jamie



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: July 12, 2005 at 11:41:18 Pacific
Reply:

for /L %%N in (2,1,101) do copy Sample1.ppt x:\someDIR\sample%%N.ppt

M2


If at first you don't succeed, you're about average.


0

Response Number 2
Name: JamieIRL
Date: July 12, 2005 at 16:20:12 Pacific
Reply:

Thanks M2

Jamie


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch Copy & Rename without overwri

Batch file to rename without spaces www.computing.net/answers/programming/batch-file-to-rename-without-spaces/11415.html

Batch file copy and Rename www.computing.net/answers/programming/batch-file-copy-and-rename/18689.html

Batch copy and rename if needed www.computing.net/answers/programming/batch-copy-and-rename-if-needed/14747.html