Hi can you advise if this is possible and how please?
I have a cmd line program which i want to run "PPP.exe test"
i then get a response saying i am in the program, then i need to send further perameters.
"set username Bill" - i will get a reponse, and then
"set password S3cr3t" - will get a response, and then
"sign-in" - i will get a response .. etc ...etc..
I know i can use exec ('c:\\WINDOWS\\system32\\PPP.exe test'); to run the program but what about sending the parameters and reading the response?