Ah, right, that's because backslashes have a special meaning in Javascript. There are two possible ways you could fix this.
- Use forward slashes instead. I'm pretty sure Windows treats both types of slashes as equivalent in paths:
'/system32/cmd.exe' - Use a "raw string" to override the special meaning of the backslashes:
raw`\system32\cmd.exe`