I'm using Ubuntu and I tried the linux way but that doesn't work either. If I do what the tutorial says dosbox start to mount c again for some weird reasons.
- When you follow the technique I've described, I believe what happens is this: DosBox scans the path you give it as the last argument, automatically attempts to mount the drive / root folder which the game exe is on, then changes to the directory containing the game exe before executing it. As far as I am aware you can't mount the same drive / directory more than once, or mount a sub folder of an already mounted drive. This is probably the root of your problem. As mentioned in the bold sectat at the start of the windows tutorial, you will need to either remove any existing mount commands from the [autoexec] section of the default dosbox.conf file, or use a custom .conf file when using shortcuts like this, which doesn't have any mounts in it. I'll add that warning comment to the start of the linux tutorial section too. :) - thanks for pointing this out d^^. --xan 15:14, 10 July 2008 (UTC)
08 July 2008, 12:41
I've written a new tutorial for creating DosBox tutorials (windows only), and deleted the original as it didn't seem to work. Hope this helps! I apologise if anyone objects to me culling the original page and its introduction!
--xan 11:47, 8 July 2008 (UTC)
PLZ FIX THE INSTRUCTIONS
I tried what you said, and the "DOS" window told me:
mount c "c:"
(HERE IT GAVE AN ERROR MSG)
So, I tried to do what you said, but instead of writting ..."c:\blabla.exe" I wrote ..."c:\\blabla.exe" and the problem was solved.
I'm using the latest version (DOSBox v0.72).
126.96.36.199 16:20, 30 November 2008 (UTC)
What if you use
mount c c:\
If you are using your own config file in shortcut (-conf "config file") then you don't need to specify the exe file in shortcut - instead you can launch your game in [autoexec] section in you config file.
Page Edit For Language?
I've rolled back the page because the large edit that was made (for translation?) totally broke the layout. It looked to me like there was lots of html inserted which probably won't get rendered correctly? Please feel free to rever to that revision if you know how to sort the layout, but I didn't and would prefer the page to appear correctly. --xan 08:25, 24 April 2009 (UTC)
shut down computer using "exit" Command or keyboard shortcut
Is it possible to edit the config file to make the "exit" command shut down the computer completely or use a keyboard shortcut? much help would be greatly appreciated.
You could try to run a simple script invoking dosbox and then turning the machine off.
In Linux it's pretty easy to achieve:
dosbox && poweroff
In Windows however, it might be a bit more difficult (I guess you'd need to call external tool to power off the system), although the syntax of the batch file (.bat or .cmd) would be as follows:
c:\path\dosbox\dosbox.exe -config "file" c:\path\shutdown
So, upon exiting dosbox, the machine is to be shutdown. [r4]