VOGONS

Common searches


First post, by csanyipal

User metadata
Rank Newbie
Rank
Newbie

Hi,

I have installed DosBox on my Ubuntu operating system.
It works fine.

I am asking for help about PATH command, because I want to set PATH to an executable so I can run that executable from everywhere, in every directorium.
Is it possible such setup in DosBox?

I tried followings, but without any success:
In ~.dosbox/dosbox-0.74-3.conf added following line:

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
set path=d:\mined.exe

or just

path=d:\mined.exe

This does not do anything. What am I doing wrong?

Any advices will be appreciated!

Best, Paul

Reply 1 of 2, by weedeewee

User metadata
Rank l33t
Rank
l33t

You set the path variable to the directory where the executable is located. Not directly to the executable.

in your case that would be

PATH=D:\;

you can add more paths (directories) by seperating them with a ;
as in

PATH=D:\;C:\DOS;C:\UTILS;

at least that's the way path works in dos. don't know if it's the same for the dosbox config file.

Right to repair is fundamental. You own it, you're allowed to fix it.
How To Ask Questions The Smart Way
Do not ask Why !
https://www.vogonswiki.com/index.php/Serial_port