VOGONS

Common searches


First post, by Guest

User metadata

The readme says:

If no configfile is specified with the -conf switch, DOSBox will look in the
current directory for dosbox.conf. Then it will look for ~/.dosboxrc (Linux),
~\dosbox.conf (Win32) or "~/Library/Preferences/DOSBox Preferences" (MACOSX).

I have Win32, which means

~\dosbox.conf

but what is "~"?

I tried simply putting it in the root (i.e. c:\), but it doesn't find it.
I tried putting it in c:\windows. Still didn't find it.
I've even tried putting it in numerous places within "c:\documents and files" (my user, all users, etc.).

So where is this "~"?!

Reply 3 of 6, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
C:> set H
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\MiniMax

C:> set U
USERDOMAIN=MINIMAX
USERNAME=MiniMax
USERPROFILE=C:\Documents and Settings\MiniMax

so your home directory will be %HOMEDRIVE%%HOMEPATH% or (a little easier) %USERPROFILE%

Or mayby you have to create a real environment variable (press Windows-button + BREAK, select the "Advanced" tab, click "Environment variables") called HOME and point it to where you want it to look?

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 4 of 6, by Guest

User metadata

You were right the second time. It works if you manually create a variable called home.

But come on, what kind of concept is this? You don't expect every one who installs Dosbox to do it him/herself, do you? Not to mention that no Win32 user can understand that readme. How should I have known to create it?

Why don't you use the installation to change home into something that we choose or at least change the default one into something that actually exists (like homedrive)?

Please don't be angry or something. I just thing it's kind of strange.
Please consider to make such a change.

Reply 5 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

quite simple

on windows dosbox is usually started by it's shortcut
that one has the configfile in it (-conf c:\program files\dosbox-0.61\dosbox.conf)

On linux there is no concept of shortcuts. so it's for them that it's used.
there everybody has a $HOME variable.

So it's mainly for *unix/*bsd users not win32 users

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