PDA

View Full Version : How to create a batch file?



IPoseTheQuestionYouReturnTheAnswer
12-18-2006, 07:38
So, the unpacker readme says that in order to use my modified files, I have to create a 'batch file' and launch the game with that. How do I create such a file? I don't even know where to begin with this...

THanks for any help.

Noaz
12-18-2006, 17:46
Just follow theese steps and all wil be fine~;p

1) Go to your M2TW directory
2) Create a new txt file, call it whatever you like (i used M2TW.txt)
3) Open the txt file and add the following line: medieval2.exe --io.file_first
Copy/paste the line so you get it exact
4) Save the txt
5) Rename the txt to bat (aka: M2TW.txt to M2TW.bat)
6) Run the bat file to play M2TW

Now it should work

IPoseTheQuestionYouReturnTheAnswer
12-18-2006, 20:54
Thanks, but how do I change a text file into a bat? Just throwing .bat on the end of the name doesn't do anything...

Hashashiyyin
12-19-2006, 06:09
After you create the text file just select "save as" and save the file as:

"name.bat"

Windows should save it as a batch file.

IPoseTheQuestionYouReturnTheAnswer
12-19-2006, 07:17
Ah excellent, that worked perfectly. Thanks to you both.

Noaz
12-20-2006, 00:35
Thanks, but how do I change a text file into a bat? Just throwing .bat on the end of the name doesn't do anything...


I would recommend you to disable the "Hide file extensions for known file types" option under folderoptions.

It makes it alot easier to mod and work with your comp imho