WordGarden.io

backslash

C2
Uncommon

Pronunciation

UK

  • /bˈækslæʃ/

US

  • /ˈbækˌslæʃ/

Meanings

Noun

  1. the symbol \ used in writing or notation as a slash that leans backward

  2. the \ character used in computing, especially as an escape character or path separator

Beyond the definition

This slanted punctuation mark is mainly a technical character used in computing. It is often confused with the forward slash (/), but you can spot it quickly by the direction it tilts. In Windows file paths it separates folders and drives—so C:\Work\Invoice.pdf tells the system to follow the Work directory and then open Invoice.pdf. In many programming languages, the same mark is used as an escape marker, meaning the character that follows is interpreted differently, such as producing a special effect instead of being read as ordinary text.

Examples

  1. 1

    Windows paths

    The file path should use backslashes, like `C:\Users\Maya\Documents`.

  2. 2

    Command line

    I typed a slash instead of a backslash, and the command didn't work.

  3. 3

    Text escaping

    In this program, you need two backslashes to show one in the final text.

    • Patterntwo backslashes to show one

      the first backslash changes how the second one is read

See also

Similar

  • reverse solidus
  • backward slash

Shades of meaning

  • escape character
  • path separator

Contrast

  • forward slash

Do not confuse

Used with (collocations)

  • backslash character
  • escaped with a backslash
  • backslash in a file path

Explore

  • escape sequence
  • punctuation mark

Forms and spellings

1 form open this card.

Main spelling

  • backslash