I am writing a program to automate an .exe file that takes file paths as arguments.
Lets call this file we want to automatically call
outputPath are all made using the function
My program is calls scale.exe like this:
launch(scalarPath + "scale.exe" + inputPath + " " + outputPath);
The issue is
sketchPath() can return a result with spaces, for example:
The command prompt interprets said space as the end of an argument, leading to an error
How do I make command prompt interpret the full path, instead of splitting at a space?