News for hackers. Stuff that matters.
Re:Why is the DOS path character "\"? by harshreality on Monday March 19, 2012 @07:43AM (#3723448)
If you're referring to \ it's a backslash not a forward slash.
Re:Why is the DOS path character "\"? by RegEx on Monday March 19, 2012 @08:47AM (#3723641)
A simple way to remember forward/backslash (which I probably read on HN) is the phrase "Backslash is by the backspace"

Edit: This is for the standard US keyboard. A more general way of thinking about it, though a bit more to remember: associate "positive" with "forward", and see that '/' has a positive slope. Or just go listen to a BBC podcast, and let the sound of the broadcaster saying "bbc dot co dot uk forward-slash newspod" resonate in your head.

Re:Why is the DOS path character "\"? by dlitz on Tuesday March 20, 2012 @12:26AM (#3727830)
"Forward slash" is a goofy name anyway. There are:

- "slash": the character you use in English and when typing fractions; and

- "backslash": the Microsoft-slash: backwards, like everything else they do.

Another way to remember is that (at least on US keyboards) the slash is always in the same place (on the same key as the question mark). The backslash, being the oddity that it is, is in different places, depending on the keyboard vendor.

Re:Why is the DOS path character "\"? by brudgers on Monday March 19, 2012 @09:10AM (#3723734)
Reminds me of many discussions I would have explaining how to invoke a particular DOS command to people whose MO was "dir" and then violently mashing <break> to allow themselves to page through a large directory.

"File slash" and "option slash" were far less confusing than decoding the secretary's concept of "forward" and "back."

Re:Why is the DOS path character "\"? by rue on Monday March 19, 2012 @06:06PM (#3726548)
It doesn't really make sense. Given we use a left-to-right and up-to-down, \ can be seen slashing forward in writing direction, starting from the top, and / backward.

Upslash / and downslash \ would make more sense, but this is what we have. My mnemonic is that forward and back are the opposite of what makes sense.

Re:Why is the DOS path character "\"? by RegEx on Monday March 19, 2012 @08:07PM (#3727075)
There's no one right way to remember something. I'm glad you found something that works for you!
Re:Why is the DOS path character "\"? by pbhjpbhj on Monday March 19, 2012 @09:17AM (#3723768)
Backslash is near L-Ctrl on my keyboard. Forward slash is far closer to backspace.

Perhaps a better way would be to think (for L-to-R language users) of the charater toppling "forwards" / or "backwards" \ WRT the text direction.

Re:Why is the DOS path character "\"? by pasbesoin on Monday March 19, 2012 @12:26PM (#3724610)
Echoing parent, in different words:

English is left-to-right. (And gravity is down.)

Is the slash "leaning forward" or is it "leaning backward".

Re:Why is the DOS path character "\"? by xxpor on Monday March 19, 2012 @11:25AM (#3724319)
Talking about the BBC: sometimes they say stroke instead of slash, which as an American, really confused me the first time I heard it.
Re:Why is the DOS path character "\"? by danielgrieve on Monday March 19, 2012 @09:09AM (#3723728)
But it isn't by the backspace... in fact it's almost the furthest from it! Probably depends on your keyboard layout though.
Re:Why is the DOS path character "\"? by meepmorp on Tuesday March 20, 2012 @12:12AM (#3727802)
I think of them as pipes that are falling over. The backslash falls backward and the forward slash falls forward.
Re:Why is the DOS path character "\"? by aparadja on Monday March 19, 2012 @10:46AM (#3724132)
Alt-shift-7 on a Finnish Mac keyboard. Took me a while to find it the first time.
Re:Why is the DOS path character "\"? by jodrellblank on Monday March 19, 2012 @09:15AM (#3723752)
On a UK keyboard, it's by left shift, making slash closer to backspace.
Re:Why is the DOS path character "\"? by vacri on Monday March 19, 2012 @07:53AM (#3723480)
In my time supporting naive endusers, it's always amused me that people at a level where they have trouble with left and right mouse buttons can remember slash and backslash like pros.