Computing.Net > Forums > Programming > Batch Rename dots

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 Rename dots

Reply to Message Icon

Name: bertalan
Date: February 7, 2009 at 16:31:54 Pacific
OS: Windows Server 2003
CPU/Ram: 1gb
Product: Unknown / UNKNOWN
Subcategory: Batch
Comment:

I have a folder with rars and all parts are
say

x..part1.rar
x..part2.rar
y..part1.rar
y..part2.rar
xw.xy..part1.rar
xw.xy..part2.rar

etc

how can i convert all the .. to .?



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: February 7, 2009 at 19:29:04 Pacific
Reply:

setlocal enableDelayedExpansion
for %%a in (*.rar) do set a=%%a& ren "%%a" "!a:..=.!"


0

Response Number 2
Name: bertalan
Date: February 8, 2009 at 01:16:59 Pacific
Reply:

thank you razor. it worked like a charm,.


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 Rename dots

A problem with batch renaming www.computing.net/answers/programming/a-problem-with-batch-renaming/14963.html

Batch Rename www.computing.net/answers/programming/batch-rename-/12849.html

batch rename files consecutive n° www.computing.net/answers/programming/batch-rename-files-consecutive-n/15480.html