Renaming files with an index in the bracket

Posted by user355889 on Stack Overflow See other posts from Stack Overflow or by user355889
Published on 2010-06-01T22:18:18Z Indexed on 2010/06/01 22:23 UTC
Read the original article Hit count: 214

Filed under:
|

I'd like to write a short powershell script for renaming files like:

abc(1), abc(2), .., abc(10), ..,  abc(123), .. 

to

abc(001), abc(002), .., abc(010), .., abc(123), ..

Any idea? :)

© Stack Overflow or respective owner

Related posts about powershell

Related posts about file-rename