How do I type "backslash backslash servername" on a European keyboard, like this \\ServerName, (without just pasting a backslash from the clipboard).

Typing backslash just seems to toggle the code block on and off.

EDIT: This an issue for keyboard layouts where backslash is activated by a combination of AltGr + backslash.

migrated from serverfault.com Jan 3 '10 at 6:44

This question came from our site for system and network administrators.

  • "European keyboard"? What's one of those? Is my UK keyboard not European? I have no difficulty with backslashes. I assume you mean Swedish keyboard. – Duncan Smart May 16 '09 at 9:45
  • 2
    If you're a programmer and can't easily type a backslash, you have bigger problems than markdown... – Ether Jan 3 '10 at 6:57
  • 1
    this was from serverfault, but I think it's a reasonable concern -- outside of HTML <tags> most stuff renders as you type it, except \\ – Jeff Atwood Jan 3 '10 at 7:29
  • 1
    See also: meta.stackexchange.com/questions/13065/… (different problem, perhaps a common solution) – Shog9 Jan 3 '10 at 8:44

Just use four backslashes: \\\\Server -> \\Server


Type the HTML entity "&#92;" for each backslash, outside of a backtick-demarcated area, like so \\ServerName\share.


\\ServerName (by which I mean \\\\ServerName) seems to work for me...

  • I'm using a European keyboard, and the backslash is a combination AltGr + backslash, which just activates the code block in the ServerFault edit box. – nray May 16 '09 at 7:22
  • You can't type a backslash without AltGr? hmm... you could, in principle, use an alternate keyboard layout, but using an HTML entity or the numeric keypad (if you're on Windows) is probably easier. – David Z May 18 '09 at 1:59

You can type out the decimal value of any character on the number pad.
Backslash is Alt+0092

  • Doesn't that only work in MS Word? – Ether Jan 3 '10 at 6:56
  • \\ ... @Æther: nope, seems to work just fine in Firefox on WinXP – quack quixote Jan 3 '10 at 19:05

\\servername - typed with no problem on a international keyboard set for swedish layout using altgr, using Chrome though...

You must log in to answer this question.