Avatar of IT CAMPER
IT CAMPER
Flag for United States of America asked on

Script or batch to copy and rename files

Need a script or batch to copy a file and rename it, looping X number of times. For instance, I have a file named 180816.SKD. I need to copy that file and rename to 180817.SKD, 180818.SKD, etc. In order to eliminate not having to mess with dates, I could simply start with 180801.SKD and the script could loop through 30 times, naming each copy advancing 01 (180801.SKD) through 31 (180831.SKD).
Windows BatchScripting Languages

Avatar of undefined
Last Comment
IT CAMPER

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Bill Prew

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
IT CAMPER

ASKER
Great work, as always Bill!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck