Jump to content

Need help in creating a .bat file


Recommended Posts

Posted

Since our IL-2 still doesn't have an option to use separate control settings for different aircraft, I had to come up with an idea to at least make two different set-ups for WWI and WWII.

The idea is to make a .bat file, which would:

1) Delete everything from "input" folder.

2) Copy everything from, say, "input_WWI" to "input" folder.

3) Run IL-2.

The second .bat to do the same for "input_WWII"

 

Problem is, I lack knowledge to write this .bat file properly. Could somebody please help me with this?

Posted

There's a guide to using Windows batch scripts here: https://en.wikibooks.org/wiki/Windows_Batch_Scripting

 

Your idea should certainly work. I'd thought of doing the same thing myself, but so far haven't got around to trying it. Make sure you keep a secondary backup of the input folders somewhere safe.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...