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

Talk and share anything related to Star Wars Battlefront 2. No maps or mod announcements here. Use Work in Progress forum.

Moderator: Moderators

Post Reply
Drenaldo
Recruit Womprat Killer
Posts: 12
Joined: Sun May 03, 2015 10:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: Kotor
xbox live or psn: No gamertag set

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

Post 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?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

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

Post 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.
Drenaldo
Recruit Womprat Killer
Posts: 12
Joined: Sun May 03, 2015 10:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: Kotor
xbox live or psn: No gamertag set

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

Post by Drenaldo »

Thank you so much! It works perfectly!
Post Reply