Arghdian wrote:Maybe it's something about "@echo off" or "-noautoexec" but it works!
Well,
-noautoexec only disables executing autoexec commands from
[autoexec] section of DOSBox config file, and then autoexec commands are passed one by one using
-c parameter.
@echo off here disables printing commands before executing them, just as in any batch file.
Arghdian wrote:But now I have another question and maybe you could help me with it as we are at the topic - is there any way to add parameters to an app starting in DOSBox through TC command line apart from .config file?
You see, you can start any number of programs in DOSBox using multiple
-c parameters. And you can pass parameters of course, as long as they don't contain double quotes because entire commands should be quoted. You can try my AskParam tool if you want to enter separate parameters in small dialog and pass them to the program, or you can use
? in front of parameter line in TC and edit full DOSBox command line in order to change parameters.
AskParam usage example:
Code: Select all
Command: AskParam.exe
Parameters: /t"echo Wow, I'm started!" /p"Launch in DOSBox:" D:\Stuff\DOSBox\DOSBox.exe -conf "D:\Stuff\DOSBox\dosbox.conf" -noconsole -noautoexec -c "@echo off" -c "mount C C" -c "mount D %P." -c "%%1"