VOGONS


First post, by spacewan

User metadata
Rank Newbie
Rank
Newbie

Hi everybody,
I have the problem that I need the old "start" command from dos.
I have some old scripts which are depending on each other - so I need that start command. There must be a new window, "call" don't work in that case.

Does anyone know how I could realize that in dosbox - or how I can implement that "start" command?

Thx and regards

Reply 1 of 4, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

dos doesn't have start as far as I know.
You are mistaking it for windows

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 4, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Precisely.

You should probably try integrating DOSBox.exe into your scripts rather than trying to run the scripts inside DOSBox.

Reply 3 of 4, by spacewan

User metadata
Rank Newbie
Rank
Newbie

Yes, Im sorry, my fault.
But i have another question.

Is it possible to define variables in a batchfile, which are accessible for the programm in the doxbox and a running windows program?

I ask because auf that:
i have a old dos prog, which defines some parameters, after that a .htm file is started and imports of a website are done.

So I need to find out how I can use the defined paramters in dosbox, for firefox in windows - I need a connection between them.

regards

Reply 4 of 4, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

You could pass variables to DOSBox when it starts by including appropriate "set var=value" lines in the autoexec.bat section of the config file.

Passing values back from DOSBox to Windows programs is not something that I think is particularly feasible, unless you could write values to a text file and then reread them. (Don't forget that piping works in DOSBox: you can type "dir > foo.txt" and write the output of "dir" to a text file.)