Modified the 'slash-check' to insert a \ instead of a / to fix support for Linux.