VOGONS


cant put "\" at dosbox

Topic actions

First post, by Guest

User metadata

Hi Well this is the strangest thing I have ever had. I start dosbox and when I have to mount my drive c I cant use the key "\" what can be the problem? is there another way to put a "\" ?

Reply 1 of 17, by War_Tourist

User metadata
Rank Newbie
Rank
Newbie

Works for me.

Reply 2 of 17, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

2 options use /
or select a us international keyboard layout.

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

Reply 3 of 17, by Guest

User metadata

Doesn't work for me either. Also, for some reason I can't select a US keyboard layout.
Or rather, I can select it but it doesn't seem to affect DOSbox. In general, DOSbox seems to have, um, a very custom way of using the keyboard - every key on my (German) keyboard works as expected, except the umlauts and the backslash.
If that helps any, the backslash on German keyboard layouts is achieved by pressing ctrl+alt+the "ß" (ß) / "?" key, while umlauts have their own keys.
See http://www.mag-murphy.net/temp/germankeys.png for a quick overview of the German keyboard layout.

Reply 4 of 17, by Guest

User metadata

What I forgot: a forward slash as a substitute for the backslash doesn't work in for example many installation programs.

Reply 5 of 17, by Freddo

User metadata
Rank Oldbie
Rank
Oldbie

I'm using a swedish keyboard and have the same problem. The "\" is made from the same key as the German keyboard. ALT Gr + ? makes the \

Reply 6 of 17, by Guest

User metadata

I have the same problem and I'm using finnish keyboard. \ comes by pushing ALT Gr and ? but not in the dosbox.

Reply 7 of 17, by Guest

User metadata

Hi,

i also had the problem...i think the post from one guy was little wrong written!

use

MOUNT C F://....

this works :)

any one know ascendancy?
:)

Reply 8 of 17, by Guest

User metadata

I use a french keyboard, \ is impossible in dosbox like every of you.

// works well, thanks

what about "~" ?

Reply 12 of 17, by Guest

User metadata

Doesn't do the trick for me in any of the game installation programs I've tried (Shattered Steel, Jagged Alliance, Albion, Space Hulk) 🙁

-- Outrider

Reply 13 of 17, by Snover

User metadata
Rank l33t++
Rank
l33t++

Then you can just, um, change your keyboard layout. 😁

Yes, it’s my fault.

Reply 14 of 17, by theoutrider

User metadata
Rank Newbie
Rank
Newbie

See my above post (unnamed, sorry) - I can change my keyboard layout, but it doesn't affect DOSbox. 🙁
At the moment, I work around the problem by mounting the target directories as drives, which works with most games. It's not exactly an elegant solution though 😉

Reply 15 of 17, by taiken7

User metadata
Rank Member
Rank
Member

The problem is the keyboard layout.
If you have CVS, you can add support by going here ..
download.php?id=705
Or wait for the next exciting episode of dosbox 0.61.

Reply 16 of 17, by arta

User metadata

my solution :
create a new text file, rename it "(anything).bat", inside write this :

@echo off
dosbox (name of the game folder)

that's it ! it will automatically mount the game folder as c:

Reply 17 of 17, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

I don't know if/how changing the keyboard layout will work for the rest of you, but it does the trick for me.

I have not yet had the need to reach keys like []{}~ in DOSbox, only "\" (which is Alt-Gr + ">" key) and @ (which is Alt-Gr + "2").

I used the Control Panel in Windows to add English as an extra input locale for my Danish keyboard, and enabled Left-Alt + Shift as the hot-key for changing keyboard layout.

Now, whenever I need "\" or "@", I just press Left-Alt + Shift, wait for the little indicator in the system tray to change from "DA" to "EN". Now pressing the "><" (without Alt) or the "2" key (with Shift), produces the desired character.

And pressing Left-Alt + Shift returns me to my normal, Danish keyboard. It is not elegant, but it is workable workaround.

Switching keyboard layouts is nothing special to me. I have a Danish keyboard at home, a work-laptop with a Danish built-in keyboard, but with my detachable keyboard is is Swedish, and once in a while I have to use an X11-server which prefer a English keyboard...
--
MiniMax

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