If your keyboard is missing backslash key - you can generate backslash using Alt Gr + #

You press "Alt GR" (right of the space bar) and key above enter "#" - This will provide a backslash.