Page 1 of 1

Passing parameters to, and returning values from script

Posted: Thu Nov 04, 2010 6:53 am
by neilallison147
I need to call a compiled script (.exe) from within an uncompiled script (.vbs) and pass parameters to it.

I then need to pass a string back from the compiled script (.exe) to the uncompiled script (.vbs)

Could you please advise if it is possible and if so, do you have some sample code?


Posted: Fri Nov 05, 2010 2:56 pm
by support
You can pass any parameters to EXE file via command line, but EXE file can return only numeric value, so called ERRORLEVEL.