Running Programs Starting with .bat files
So, I have this open-source program called Sauerbraten that starts using a .bat file in its main directory, but that opens the exe for it in the \bin directory, so it will only briefly flash that I'm playing Sauerbraten and then will simply say that I'm online. Any way to add it so that it starts with the bat, but keeps the exe added as well through the same shortcut?
< >
Показані коментарі 115 із 22
Rewrite the bsatchfile to pause after you launch the game.
have you figured out how to do this because I am having the same problem to add my civ 1 game to my library in steam it only reads it as a .BAT file
Open the Batchfile in notepad and find where the command to launch the program is then add "pause" on the next line.
Цитата допису Vaemer-Riit:
Open the Batchfile in notepad and find where the command to launch the program is then add "pause" on the next line.


as much as I wish it were that easy I tried to open th batch file in notepad but it does not give the option nor does it allow me to change the fiel type to notepad
Цитата допису REDSHADOW:
Цитата допису Vaemer-Riit:
Open the Batchfile in notepad and find where the command to launch the program is then add "pause" on the next line.


as much as I wish it were that easy I tried to open th batch file in notepad but it does not give the option nor does it allow me to change the fiel type to notepad
Right-click, "Open with...", Notepad. Was that so hard?
Цитата допису REDSHADOW:
Цитата допису Falro the Great:
Right-click, "Open with...", Notepad. Was that so hard?


http://i.imgur.com/3mLydMU.png


I just said that It wont allow me to do it !!
No need for the language. Care to explain why it won't allow you to do it?
Цитата допису REDSHADOW:
Цитата допису Falro the Great:
Right-click, "Open with...", Notepad. Was that so hard?


http://i.imgur.com/3mLydMU.png


I just said that It wont allow me to do it !!

Try taking a screenshot of it, and upload it to some image hosting site. If you post it here, maybe we could help you better.
Цитата допису Falro the Great:
Цитата допису REDSHADOW:


http://i.imgur.com/3mLydMU.png


I just said that It wont allow me to do it !!
No need for the language. Care to explain why it won't allow you to do it?

Exactly. Batch files have been around at least 30 years. There is no mystery to them.
What happens when you browse to the folder containing the bat file, select it, right click it, and choose Open with... and then select Notepad from the dialog?
Автор останньої редакції: Hi-Torque; 27 лют. 2015 о 2:39
OR... open notepad and go to the folder that the .bat file is in and open it from notepad (may need to change the 'Open' file types to All from *.txt
jast install notepad++ it open any files, with any .ext
enable show all files + ext in win explorer or navigate use FarManager 3.x - it can operate with superhidden files and folders
Автор останньої редакції: REDSHADOW; 28 лют. 2015 о 9:39
Цитата допису K.A.R.R.:
OR... open notepad and go to the folder that the .bat file is in and open it from notepad (may need to change the 'Open' file types to All from *.txt


now what ?

http://steamcommunity.com/sharedfiles/filedetails/?id=400406324
< >
Показані коментарі 115 із 22
На сторінку: 1530 50

Опубліковано: 10 листоп. 2014 о 9:57
Дописів: 22