Computing.Net > Forums > Programming > Trim files and rename in batch

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.

Trim files and rename in batch

Reply to Message Icon

Name: rzcolobanshee
Date: September 27, 2007 at 10:33:17 Pacific
OS: WinXP
CPU/Ram: PC
Product: Dell
Comment:

I'm trying to rename a set of files in a folder, for example

Name Number Testing.txt
to
Name Number Test1.txt

Test and NewTest will always be the same but name and number will change, so essentially I just need to trim off 11 characters and then rename with new end



Sponsored Link
Ads by Google

Response Number 1
Name: rzcolobanshee
Date: October 1, 2007 at 09:43:04 Pacific
Reply:

Did I ask a bad question?


0

Response Number 2
Name: IVO
Date: October 2, 2007 at 09:07:08 Pacific
Reply:

No at all, your question would be satisfied IF you specify *exactly* the structure of filenames to be replaced.

Info from your previous post is too generic to be encoded in machine readable code (as a batch is just a kind of simple program).


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: Trim files and rename in batch

Batch file to rename a file www.computing.net/answers/programming/batch-file-to-rename-a-file/14356.html

Read and Write in Batch file www.computing.net/answers/programming/read-and-write-in-batch-file/16655.html

rename files and folder to lowercase with b www.computing.net/answers/programming/rename-files-and-folder-to-lowercase-with-b/19161.html