VOGONS


First post, by bongazi

User metadata
Rank Newbie
Rank
Newbie

Hello,

how do I set a specific .conf file for all users that log onto the domain?
Currently the default .conf file is loaded but another user will not have the same configuration.

I want to do a all users startup link in windows 7 but it has to read the same configuration file for all users.

thanking in advance 😀

Reply 2 of 11, by bongazi

User metadata
Rank Newbie
Rank
Newbie

Hello,
Thank you for that -

how do i point the shortcuts for dosbox to that .conf ?

As very user that logs on and executes dosbox will have his
specific .conf file in
C:\Users\Administrator\AppData\Local\DOSBox
C:\Users\jwalker\AppData\Local\DOSBox
C:\Users\tgreen\AppData\Local\DOSBox

etc

regards

Reply 3 of 11, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

you have to modify the shortcut to dosbox and add a -conf c:\users\all users\.....\configfile.conf

and hope it works.
DOSBox was designed to give each user its own configfile, so this is a bit of a hack.

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 11, by bongazi

User metadata
Rank Newbie
Rank
Newbie

Hi Qbix,
thank you for your replies 😀
I tried to do that - if i right click the shortcut and do properties - the Target is: "C:\Program Files\DOSBox_MB5\dosbox.exe" -conf c:/rs-prodo/dosbox.conf

but it still loads the C:\Users\Administrator\AppData\Local\DOSBox config file.....

any ideas 😢

Reply 6 of 11, by bongazi

User metadata
Rank Newbie
Rank
Newbie

DosFreak & Qbix

... I am so deeply sorry for wasting your time with my own stupidity... 😊 ...

there is a dosbox.conf file in that folder ... but it is a
dosbox.conf.txt ... and I just saw that after this " Are you sure there is a dosbox.conf in c:\rs-prodo ?" was posted.

I fixed that and it it working PERFECTLY !!!

thank you again for all your help and time... 😁

regards from NAMIBIA !!

Reply 7 of 11, by bongazi

User metadata
Rank Newbie
Rank
Newbie

Hello - again 😊

is it possible to have only one instance of dosbox running on a win7
machine? Is it something I could add to the config file?

Because when I switch users i am able to start the same abbplication for other users - this might corrupt my data...

thank you

Reply 9 of 11, by DosFreak

User metadata
Rank l33t++
Rank
l33t++
bongazi wrote:
Hello - again :blush: […]
Show full quote

Hello - again 😊

is it possible to have only one instance of dosbox running on a win7
machine? Is it something I could add to the config file?

Because when I switch users i am able to start the same abbplication for other users - this might corrupt my data...

thank you

You'd have to modify the DOSBox code to do so. If you can't do that or get someone to do it for you then you'll just have to turn off user switching.

How To Ask Questions The Smart Way
Make your games work offline

Reply 10 of 11, by bongazi

User metadata
Rank Newbie
Rank
Newbie

Thank you DosFreak,

i will start dosbox with a batch file that looks like this:

tasklist /FI "IMAGENAME eq dosbox.exe" 2>NUL | find /I /N "dosbox.exe">NUL
if "%ERRORLEVEL%"=="0" echo Early Warning System is already running...
if "%ERRORLEVEL%"=="1" "C:\Program Files\DOSBox_MB5\dosbox.exe" -noconsole -conf c:/rs-prodo/dosbox.conf

I am just unable to get dosbox up with -noconsole...

any ideas..?

regards.

Reply 11 of 11, by bongazi

User metadata
Rank Newbie
Rank
Newbie

Hello,
I managed to get thing going using this batch:

@echo off
tasklist /FI "IMAGENAME eq dosbox.exe" 2>NUL | find /I /N "dosbox.exe">NUL
if "%ERRORLEVEL%"=="0" msg %username% Electronic Early Warning Sytem Already Running. Click OK.
if "%ERRORLEVEL%"=="1" msg %username% Electronic Early Warning System Monitoring Started %date% %time%. DO NOT close the monitoring window. Click OK to Proceed.|"C:\Program Files\DOSBox_MB5\dosbox.exe" -noconsole -conf c:/rs-prodo/dosbox.conf | taskkill /F /IM "cmd.exe"

hope this can help someone - To the others, thank you for your much needed help - an a big thank you to the creators of DosBox and DosBox MB5. You guys are great!

Regards,

Bongazi