Code 33 using WinExec
Hi. I'm trying to call a ruby script using WinExec external function. I set all parameters that allows it to use external parameters. I'm getting the error 33. I can't find a useful answer about this question.
My code:
Comment("Resulting: ", WinExec("c:\ruby192\bin\ruby.exe c:\myfile.rb"));
And it's returning 33. Anybody knows about this code? how can I do that?
Error 33: it's impossible to access the file. Have you tried this:
Comment("Resulting: ", WinExec("c:\\ruby192\\bin\\ruby.exe c:\\myfile.rb"));
?
And it's returning 33. Anybody knows about this code? how can I do that?
Hi. I'm trying to call a ruby script using WinExec external function. I set all parameters that allows it to use external parameters. I'm getting the error 33. I can't find a useful answer about this question.
My code:
And it's returning 33. Anybody knows about this code? how can I do that?