Page 1 of 1

Can I rename my addon folders with a .bat file? [Solved]

Posted: Wed Nov 18, 2015 4:25 pm
by Drenaldo
So I have two addon folders in my gamedata directory that I rename depending on what configuration of mods that I want to play with (because of the 500 mission restriction). That means that while one of the folders is correctly named addon, the other is named addon_alt, or addon_main depending on which folder is currently not in use. However, it can get tedious renaming the folders and I was wondering if it could be done from a .bat program that i could have from my desktop. If this is possible, how is it done?

Re: Can I rename my addon folders with a .bat file?

Posted: Thu Nov 19, 2015 3:19 am
by AceMastermind
This works:

Code: Select all

ren addon temp
ren addon_alt addon
ren temp addon_alt
Drop it in your Gamedata folder where your "addon" and "addon_alt" folder is, then create a shortcut to this batch file on your Desktop.

Re: Can I rename my addon folders with a .bat file?

Posted: Thu Nov 19, 2015 11:19 am
by Drenaldo
Thank you so much! It works perfectly!