A backward virgule ( \ ).
Dictionary:
back·slash (băk'slăsh') ![]() |
| Computer Desktop Encyclopedia: backslash |
The backslash symbol (\) is used as a separator between folder and file names in DOS, Windows and OS/2 when the full path to a file is written out. For example, the path c:\cde\cde.exe points to the CDE.EXE file in the CDE folder on the C: drive.
When the universal naming convention (UNC) is used, double backslash (\\) characters serve as a prefix to the server name. For example, \\a5\c\expenses is the path to the EXPENSES folder on the C: drive on server A5. See UNC.
In DOS and Windows programming, double backslash characters (\\) represent an actual single backslash that will be displayed or printed. This is required since the backslash symbol is used to separate names and also define hexadecimal numbers.
An Unfortunate Symbol
The backslash character adds confusion as a path name separator. The backslash key is not located in a standard place on every keyboard, and the path name separator used in Internet addresses is a forward slash, not a backslash. The irony is that Internet addresses are Unix addresses, and when DOS was enhanced to support folders, the same Unix syntax was chosen to define the path to DOS files. However, DOS was designed to replace CP/M, and the first release of DOS used the forward slash for command line parameters (switches) to imitate CP/M. As a result, the forward slash was already in use, and the backslash was chosen as a path name separator. Thus, the backslash is used in Windows addresses, and the forward slash is used in Internet addresses. See path and forward slash.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| Wikipedia: Backslash |
The backslash ( \ ) is a typographical mark (glyph) used chiefly in computing. It was first introduced to computers in 1960 by Bob Bemer.[1] Sometimes called a reverse solidus, oblique or a slosh, it is the mirror image of the common slash.[2]
Other common terms for the character include hack, escape (from C/UNIX), reverse slash, backslant, whack, and backwhack. Also, it is sometimes referred as bash, reverse slant, reversed virgule, or backslat.[3]
Bob Bemer introduced the \ character into ASCII, on September 18, 1961, as the result of character frequency studies. In particular the \ was introduced so that the ALGOL boolean operators "∧" (AND) and "∨" (OR) could be composed in ASCII as "/\" and "\/" respectively.[4] Both these operators were included in early versions of the C programming language supplied with Unix V6 , Unix V7 and more currently BSD 2.11.
In many programming languages such as C and Perl and in Unix scripting languages, the backslash is used to indicate that the character following it should be treated specially. It is sometimes referred to as a knock-down or escape character. In various regular expression languages it acts as a switch, changing literal characters into metacharacters and vice versa. The backslash is used similarly in the TeX typesetting system and in RTF files to begin markup tags. In Haskell, the backslash is used both to introduce special characters and to introduce lambda functions (since it is a reasonable approximation in ASCII of the Greek letter lambda, λ).
In the context of line-oriented text, especially source code for some programming languages, it is often used at the end of a line to indicate that the trailing newline character should be ignored, so that the following line is treated as if it were part of the current line. In this context it may be called a "continuation". The GNU make manual says[5]
We split each long line into two lines using backslash-newline; this is like using one long line, but is easier to read.
The underlying Windows API can accept either the backslash or slash to separate directory and file components of a path, but the Microsoft convention is to use a backslash, and APIs that return paths put backslash in.[6] MS-DOS 2.0 copied the hierarchical file system from Unix and thus used the forward slash, but (possibly on the insistence of IBM) added the backslash to allow paths to be typed into the command shell while retaining compatibility with MS-DOS 1.0 and CP/M where the slash was the command-line option indicator. For instance, in a Windows command shell, you can add the "wide" option to the "dir" command by typing "dir/w", yet you can run a program called "w" in a subdirectory "dir" with "dir\w".[7]
Although the command shell was the only part of MS-DOS that required this, the use of backslash in filenames was propagated to most other parts of the user interface. Today, although the underlying operating system supports either character, some software programs and sub-systems may or may not accept the slash or the backslash as a path delimiter. If slashes are used in path arguments to command-line programs, they may be misinterpreted. Some programs will accept them if the path is placed in double-quotes.[8] Some built-in security features have failed to understand unexpected-direction slashes in local or internet paths while other parts of the operating system still acted upon them; this has led to some serious lapses in security.[9][10]
In the Japanese ISO 646 encoding (a 7-bit code based on ASCII), the code point that would be used for backslash in ASCII is instead a yen mark (¥), while in Korean encoding, the code point for backslash is the won currency symbol (₩ or W). Computer programs (such as Windows filenames) still treat it as a backslash in these environments, causing confusion.[11] Due to extensive use of the backslash code to represent the yen mark in text, some Unicode fonts like MS Mincho render the backslash character as a ¥, so the Unicode characters 00A5 (¥) and 005C (\) look identical when these fonts are selected.
In mathematics, a backslash-like symbol is used for the set difference.
In some dialects of the BASIC programming language, the backslash is used as an operator symbol to indicate integer division.
In MATLAB, the backslash is used for left matrix divide, while the slash is for right matrix divide.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| Translations: Backslash |
Français (French)
n. - (Typ) barre oblique inversée
Deutsch (German)
n. - umgekehrter Schrägstrich
Ελληνική (Greek)
n. - ανάποδη κάθετος
Italiano (Italian)
diagonale rovesciata
Português (Portuguese)
n. - contrabarra (f)
Русский (Russian)
обратный знак - \
Español (Spanish)
n. - barra inclinada hacia atrás
Svenska (Swedish)
n. - backslash
中文(简体)(Chinese (Simplified))
反斜线符号
中文(繁體)(Chinese (Traditional))
n. - 反斜線符號
日本語 (Japanese)
n. - バックスラッシュ, 逆スラッシュ
עברית (Hebrew)
n. - לוכסן שראשו בצד שמאל: \
If you are unable to view some languages clearly, click here.
To select your translation preferences click here.
| backslash (technology) | |
| Back Pay (business term) | |
| DOS switch (technology) |
| What is a backslash error in micrometer screw? Read answer... | |
| Can DOS backslashes be converted to unix slashes? Read answer... | |
| What is the symbol above the backslash on a Dell keyboard called? Read answer... |
| How do you get a backslash on a korean keyboard? | |
| How do you insert a backslash on a graphing calculator? | |
| What is the substitute for backslash character? |
Copyrights:
![]() | Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher. © 1981-2009 Computer Language Company Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Backslash". Read more | |
![]() | Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved. Read more |
Mentioned in