Call a standalone application with IGOR
mailfert
function test()
String str="C:\\Nouveau dossier\\SimpleExe.exe"
ExecuteScriptText str
end
but this doesn't work.
Thanks for your help.
Sébastien
String str="C:\\Nouveau dossier\\SimpleExe.exe"
ExecuteScriptText str
end
but this doesn't work.
Thanks for your help.
Sébastien
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
March 25, 2015 at 09:35 am - Permalink
or
str= "\"C:\\Nouveau dossier\\SimpleEXE\"" \\ as it's written on the help documentation -> ExecuteScriptText "\"C:\\Program Files\\my.bat\""
or
create a symbolic path but nothing work.
Could you help me to give the correct path?
Best regards.
Sébastien
March 26, 2015 at 12:10 am - Permalink
String str="\"C:\\Nouveau dossier\\SimpleExe.exe\""
since there is a blank in your path...
HJ
EDIT:
Never post before the second cup of tea...
Without \" it does not work and with \" it works.
I tried it (with a batch file) on my machine and it works with a blank in the filename and in the path.
It also works with just and \.
I also tried it with calc.exe and it only works if the extension ".exe" is included. Maybe this is the key.
March 26, 2015 at 01:45 am - Permalink
March 26, 2015 at 06:25 am - Permalink