windows - Automate rename of .rdf files to .XML -


i have requirement rename .rdf files (report definition file) .xml , trying automate i'm having hundreds of files. actual purpose of exercise identify if there files generate error while converting .xml , list of files. i'm thinking of writing .bat file this.

if has done similar thing or have idea kindly share me.

thanks in advance.

if want rename rdf files xml using bat, can use rename command. rdf not need converting xml, because xml---just different file name.

from command prompt type rename /? see options.

this command renames rdf xml in current directory:

rename *.rdf *.xml 

to output errors of bat file log file, has been covered here:

how capture stderr on windows/dos?


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -