Author Topic: Would like script or something for DOSBOX--SOLVED!  (Read 2234 times)

Offline dougmack

  • Hero Member
  • *****
  • Posts: 981
Would like script or something for DOSBOX--SOLVED!
« on: March 13, 2012, 08:18:21 PM »
I have several old DOS routines that are still useable, and I have put them all in subdirectories in/home/doug/dos.  I would like to be able to snap on the DOSBOX
icon and have it come up automatically in "C: /" and full screen, so I don't have to mess around with "Z: mount c /home/doug/dos/" and then "cd /c:"  Apparently the
autoexec.bat file that shows up in the fake z: drive is not in control, and besides, I can't find it on a bash partition to edit it--I get some different autoexec.bat  
in /usr/share/drive_z and I don't dare fool with that! At least not unless someone who knows how tells me how. Also, what is the syntax that would imitate "alt-enter"?

Thanx--doug
« Last Edit: March 14, 2012, 11:53:54 AM by dougmack »
Blessed are the peacemakers...for they shall be shot at from both sides.  A. M. Greeley

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Would like script or something for DOSBOX
« Reply #1 on: March 14, 2012, 01:29:28 AM »
dosbox -c "mount C: /home/darrel/DOS/dazzle" -c "C:dazzle.exe"




There's a wealth of information to be found in the program manuals. Open a terminal, maximize it, then enter:

man dosbox

Press q to quit. Scroll up and down with the up and down arrow keys or PgUp and PgDn keys.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline dougmack

  • Hero Member
  • *****
  • Posts: 981
Re: Would like script or something for DOSBOX
« Reply #2 on: March 14, 2012, 11:53:13 AM »
Thank you!  I didn't realize that there would be a man page for dosbox.  For anyone else with the same question I had, edit /usr/share/applications/dosbox.desktop and
on the line "Exec=dosbox"  modify it to read "Exec=dosbox /home/doug/dos -fullscreen"  (Use your own name in the path, of course.)  And make a backup file first!

SOLVED

--doug
Blessed are the peacemakers...for they shall be shot at from both sides.  A. M. Greeley