Forum Discussion
CBleunven
14 years agoContributor
Hi to all,
I try to apply the proposed solution to my tests but I have a problem working with the "Program Files" directory.
When I try with C:\\Windows\\Notepad.exe, it works, but when I try with C:\\Program Files\\MyApp\\app.exe it fails with the following JScript runtime error message : "The system cannot find the file specified".
If I previously test the path with aqFileSystem.Exists(path), the result is True.
I guess the issue is the space in the folder name, how may I solve this ?
Thank you for help,
Best,
Christophe
I try to apply the proposed solution to my tests but I have a problem working with the "Program Files" directory.
When I try with C:\\Windows\\Notepad.exe, it works, but when I try with C:\\Program Files\\MyApp\\app.exe it fails with the following JScript runtime error message : "The system cannot find the file specified".
If I previously test the path with aqFileSystem.Exists(path), the result is True.
I guess the issue is the space in the folder name, how may I solve this ?
Thank you for help,
Best,
Christophe