Hi,
i like to run my .exe with commadn line parameters.
If i run with:
<input id="autorun" type="hidden" value="file.zip !c:!gwbasic.exe"/>
Gwbasic works ok.... but if i run with:
<input id="autorun" type="hidden" value="file.zip !c:!GWBASIC CALCO/F:15/S:512"/> (start calco.bas)
my browser stuck. I tried with:
<input id="autorun" type="hidden" value="file.zip !c:!run.bat"/> but same result.
How can i auto-start an exe with command line parameters ?
Thanks for support
Luigi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Command line params are a bit experimental, but i was able to get it to work during my limited testing. The format you are using looks fine. Are you able to set the command line args from the configuration gui? ie Jsdosbox configuration dialog -> Advanced settings -> cmd line args. If it works from the gui then it should work from the params also.
Bat files are not supported. This is due to the threading model. Back in the day there were DOS programs that compiled bat files to .com files. I tried, but was unable to find one that worked for me. I would be interested it someone got that to work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i like to run my .exe with commadn line parameters.
If i run with:
<input id="autorun" type="hidden" value="file.zip !c:!gwbasic.exe"/>
Gwbasic works ok.... but if i run with:
<input id="autorun" type="hidden" value="file.zip !c:!GWBASIC CALCO/F:15/S:512"/> (start calco.bas)
my browser stuck. I tried with:
<input id="autorun" type="hidden" value="file.zip !c:!run.bat"/> but same result.
How can i auto-start an exe with command line parameters ?
Thanks for support
Luigi
Hi,
Command line params are a bit experimental, but i was able to get it to work during my limited testing. The format you are using looks fine. Are you able to set the command line args from the configuration gui? ie Jsdosbox configuration dialog -> Advanced settings -> cmd line args. If it works from the gui then it should work from the params also.
Bat files are not supported. This is due to the threading model. Back in the day there were DOS programs that compiled bat files to .com files. I tried, but was unable to find one that worked for me. I would be interested it someone got that to work.