ZBrushCentral

Question: How to call exe file with path that contain space?

I’m using ShellExecute to open Character Creator.exe, which is under Program File. I tried opening other files which their path doesn’t contain space will work as expected.

You need to put the path in quotes: "C:\Program Files\Character Creator.exe"

Sometimes you might need to use the [StrMerge] command, in which case it can simplify things to use the ascii value for the double quotes:

[VarSet,pathToExeFile,[StrMerge,[StFromAsc,34],"C:\Program Files\Character Creator.exe",[StrFromAsc,34]]]

Thank you very much. I never thought that I can merge string with StrFromAsc.