Hi all
Can somebody please teach me how to check for existence and run stupid, long filenames with spaces in their path, like
Best regards
Ola
Can somebody please teach me how to check for existence and run stupid, long filenames with spaces in their path, like
//The filename is saved in a file like this:
XPARAM.Filename = "C:\StupidProgram Files (x86)\Stupid Subdirectory\Stupid.exe"
//That is, it is in the item without the "inch marks"
sStupidFileName is string = XPARAM.Filename
IF NOT fFileExist(sStupidFileName) THEN
//The stupid file is never found because it has spaces in the path!
Warning("The stupid file is not found:" + sStupidFileName)
ReturnToCapture()
END
ExeRun(sStupidFileName)
The help for Exerun tells to use [] or three """inch marks""", but how do I do that for a file item/Variable? The help for fFileExist does not seem to recognize this problem at all.
Best regards
Ola