![]() ![]() If you want to be extra safe, you can copy the files to a new folder so that you have a backup of the files before you run the rename command. NOTE: Make sure you type the commands above correctly, as you may not be able to undo the renaming process. ![]() Also, you can replace *.txt (the first variable) with just * if you want to rename all extensions for all files. You can replace *.txt and *.xml with any other extensions in the commands above. The following command uses a loop that iterates through subfolders (one level deep) and changes all file extensions from *.txt to *.xml:įor /d %x in (*) do pushd %x
0 Comments
Leave a Reply. |