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
Post a Comment