ls -1 | sed "s/\(.*\).step2.xml1/move & \1.xml/" | cmd - for batch renaming files. Refer this.

Installing a toolkit with Unix utilities is a must (until PowerShell Monad is available). I recommend this and this. If you use the sourceforge one, the advantage is that the commands are a direct port - much faster. Standard approach is to just dump all these files into a Utils folder which is in your computer PATH. Then all your "cmd" shell windows will support these commands. "grep", "sed" are really useful from this bundle.


 
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview