Backslashes in Startscript

Hey there,

When I use the @execute command in start script in slic3r (repetier host) then the settings aren't saved with backslashes.
So Slic3r generate the gcode with the command but without backslash. So the command won't be execute in Windows.
When I copy the command into the gcode in gcode editor the command is working because the backslashes are there


@execute C:\Users\Marcus\Desktop\anyscript.bat
When I copy it manually in the gcode then it work

When Slic3r generate the gcode with start script then it looks like this (without backslashes)

@execute C:UsersMarcusDesktopanyscript.bat

How can I tell Slic3r to you the right symbol?

Thank you


  • Normally you need then to escape the backlash by prepending an addditional backlash so \\ becomes \ afterwards. Alternatively just use / which works in windows as well.
  • Thank you.
    escaping don't work (or don't work for me) but / work.

Sign In or Register to comment.