Monday, September 19, 2011

How would i make a batch file that dose this?

i want to make a file converter that changes the name of a file to a different one such as Hardpoints.xml to Hardpoints.doc with out respelling or changing the file nameHow would i make a batch file that dose this?ren *.xml *.doc





That dos command would rename all .xml files in the current directory to now have .doc extension.



How would i make a batch file that dose this?Try this-

cd (DIRECTORY OF FILE)

copy file.xml file.doc

del file.xml

No comments:

Post a Comment