WordGarden.io
Back to search

backslash

C2

Pronunciation

UK

  • /bˈækslæʃ/

US

  • /ˈbækˌslæʃ/

Description

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.

    • Pattern

      two backslashes to show one

      the first backslash changes how the second one is read

Forms and spellings

1 form open this card.

Main spelling

  • backslash