Batch File creation - Change extension, remove line -


i have files in directory c:\dir a\folder files have extension abc , xml files line @ top. line reads "abc0.0.01"

using batch file process want to
1) copy files directory c:\dir b\folder b
2) remove text "abc0.0.01" top of copied files
3) change file extension on copied/edited files .abc .xml

is can done?

@echo off cd "c:\dir a\folder a" %%a in (*) (   more +1 "%%~a" > "c:\dir b\folder b\%%~na.xml" ) 

see for /? , more /? details.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -