VOGONS


First post, by kanga85

User metadata
Rank Newbie
Rank
Newbie

I am new to DOSBOX, have installed it on my WIN7 Home premium (64bit) machine and can run the DOS programs I want through the Mount command.

What I now want is to be able to run two (say) programs (not simultaneously) from my WIN7 desk top. I want an icon which will call DOSBOX to open the program "Game" in folder "C:\Oldgame" and I want a different icon to run "GWBasic.exe" in folder "C:\BasicDir".

Help with the command line please.

Thank you.

Reply 1 of 6, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

Create a unique config file for each program, then for each create a shortcut to dosbox.exe with the additional command line parameter -conf gameconfigfile.conf.

edit: You can create the config files by just copying the original config file. Add the mountings and directory changes to the autoexec part at the end.

You can create each shortcut by right clicking on dosbox.exe, then Create Shortcut, then moving it to your desktop. Finally, access the shortcut's properties from the context menu and add the command line parameter to the end of Target.

Reply 2 of 6, by grcerbus

User metadata
Rank Newbie
Rank
Newbie

I think I understand what you're describing, but I'm not sure how to make it work exactly. Here's what I have to do to run Gizmos & Gadgets:

1. Open DOS Box
2. type: mount c c:\Gizmos_and_Gadgets
3. type: c:
4. type: ssg -gv

Game then runs and it's great.

If I create a shortcut and then modify the command line parameter, how do I get it to enter multiple lines? or can all of those steps be executed in one line?

I want to set the game up on my little sister's computer, and I don't want her to have type a bunch of DOS commands in to be able to play. I guess I just want slightly more specific instructions.

Reply 4 of 6, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Mr. Ripa said everything you need to know. Lines in the [autoexec] section at the end of DOSBox.conf run automatically when DOSBox is started, you see, so the only command line parameter you need is the location of a DOSBox.conf with the relevant lines in its [autoexec] section.

Or you can just use a frontend, as Mr. DosFreak suggests.

1. Open DOS Box 2. type: mount c c:\Gizmos_and_Gadgets 3. type: c: 4. type: ssg -gv […]
Show full quote

1. Open DOS Box
2. type: mount c c:\Gizmos_and_Gadgets
3. type: c:
4. type: ssg -gv

Game then runs and it's great.

P.S. Some (but not all) games do not expect to be run from C:\ and will not work correctly if they are run from C:\. You should store your game in c:\whatever\Gizmos and then use
mount c c:\whatever
c:
cd Gizmos
ssg -gv

Last edited by Jorpho on 2012-06-14, 15:11. Edited 2 times in total.

Reply 6 of 6, by grcerbus

User metadata
Rank Newbie
Rank
Newbie

Wow, thanks so much.