Passing parameters to, and returning values from script

VBS to EXE and JScript to EXE Compiler
Post Reply
neilallison147
Posts: 7
Joined: Thu Sep 02, 2010 4:24 am

Passing parameters to, and returning values from script

Post 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?

Thanks
support
Site Admin
Posts: 476
Joined: Fri Feb 13, 2004 1:05 pm

Post by support »

You can pass any parameters to EXE file via command line, but EXE file can return only numeric value, so called ERRORLEVEL.
Post Reply