Keybow backslash key sends # sign instead

Hi there
I want to open a Word template on Keybow 2040 with the following:

        keyboard.send(Keycode.GUI)
        time.sleep(0.3)
        layout.write("S:\folder\file")

But the output replaces the backslashes with # signs i.e. “S:#folder#file” .

It could be because I have a UK keyboard, but switching to a US layout doesn’t seem to make a difference.

Any advice? I could of course breakup the text and individually send the keycode for backslash but that seems a bit extra.

Thanks for any advice :)