Trying to set up a task in Windows Task Scheduler where a bat file is run and passed a path that contains spaces. I can get the bat file to run without the path parameter but not with the path parameter.
The action is "C:\Full\Path\To\Batch File.bat".
The parameter should be "C:Full\Path\To\Another File.txt" but, when I enter it, the bat file is not called and the Last Run Result is "(0x1)". Without the parameter, the bat file is run and the Last Run Result is "The operation completed successfully. (0x0)".