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.

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...