When I run this in python:
print "\bin\example.exe"
it prints

I think this is because the "\b" is being picked up as a regular expression.
Any help is appreciated!
You are correct about the \b being the issue, it is using \ as the escape character.
There are two ways of dealing with backslashes in Python:
"\\" which prints as \; andr"asdf\jk" which will print asdf\jk.You need double backslashes \\ otherwise python thinks they are escape sequences:
print "\\bin\\example.exe"
Look here for more information on string literals and escape sequences.
escape the backslashes with backlashes
print "\\bin\\example.exe"
print r"\bin\example.exe"