![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Windows 2000 Pro / NT Workstation Support Find support for Windows 2000 Pro / NT Workstation here |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jan 2008
Posts: 3
OS: Windows XP
|
Batch File Rename Help
I have to rename a file every day and I was wondering if there is a way to automate it with a batch file. I am moderately proficient with batch files but I need some help. First of all I have a file with a name that we will say temp. In another directory I have files named 01022008 vabcbs03.clm, 01032008 vabcbs04.clm, 01042008 vabcbs05.clm etc. I need to grab the most current vabcbs##.clm increment it by one and then rename the file with that name. So if today is 01/10/2008 I would go to the folder find 01092008 vabcbs10.clm and then rename my temp file vabcbs11.clm. Another thing is I need to check and make sure that the vabcbs does not go above 100 i.e. if vabcbs99.clm was the day before I go back to vabcbs01.clm. Any help is appreciated thanks.
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|