A couple of Dosbox questions
Oct. 27th, 2011 05:03 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I want to run a Dos program on my netbook using Dosbox - it works OK, but getting it to start is a pain because I have to set the path etc. and the netbook's ~ key doesn't work under Dosbox, it comes out as an @ instead. Can't find ~ at all under DOS. I can get round it by using CD ../ to get to the top of the file system, then changing directories down, but it's a bit of a pain. Any easy alternative?
What I would ideally like to do is set up a link that starts Dosbox and loads the program automatically - is there any simple way to do that?
What I would ideally like to do is set up a link that starts Dosbox and loads the program automatically - is there any simple way to do that?
no subject
Date: 2011-10-27 04:48 pm (UTC)no subject
Date: 2011-10-27 05:08 pm (UTC)I suppose I could just write an autoexec.bat script or similar but I'm not sure how to make Dosbox run it by default, and in any case I may want to use more than one Dos program eventually.
no subject
Date: 2011-10-27 06:43 pm (UTC)Why not write a simple batch file and run that at the Dosbox prompt? It would set the PATH string, move to the relevant directory and then fire up the program you want to use. Call it a.bat, put it in the default directory and then all you need to do after starting Dosbox is to type "a" "return" and away you go. Any other DOS programs you want to use get b.bat, c.bat etc. You can also put the "keybuk" command in there too.
no subject
Date: 2011-10-27 07:47 pm (UTC)no subject
Date: 2011-10-27 08:14 pm (UTC)no subject
Date: 2011-10-27 10:04 pm (UTC)You may not want to run your program from there if you're contemplating others, but at least it would save you retyping keyb uk every time (or having to remember to include it in multiple batch files).
Edit: and here's where to find it on Linux.
no subject
Date: 2011-10-27 10:18 pm (UTC)no subject
Date: 2011-10-27 07:50 pm (UTC)no subject
Date: 2011-10-27 08:07 pm (UTC)no subject
Date: 2011-10-27 08:23 pm (UTC)Maybe bat files are the simpler answer.