First post, by giomach
giomach
Offline
Rank
Newbie
This works as expected (in Windows Vista):
"C:\Program Files\DOSBox-0.74\DOSBox.exe" %CD%\query.exe -exit
but this, which I thought should be equivalent, ignores the -exit option:
"C:\Program Files\DOSBox-0.74\DOSBox.exe" -c "mount c %CD%" -c "c:" -c query.exe -exit
I have to use the second form, as I will want to supply a parameter to query.exe. How can I make -exit work here?
Thanks for your help.
PS. The above are used inside batch files. The same thing happens when they are typed at the DOS prompt, with the "%CD%" replaced by the full current directory.