|
-
August 23rd, 1999, 01:08 PM
#1
Passing/Retrieving Parameters from/to executable file
How do I pass parameters when calling an .exe file from an .exe file? How do I pass values back throught those parameters from the .exe file to .exe file?(How to accept the parameters? Should I use SHELL to call an .exe file or something else?
-
August 24th, 1999, 01:52 AM
#2
Re: Passing/Retrieving Parameters from/to executable file
to pass parameters you can use the shell command as in
shell "notepad c:\autoexec.bat"
There is no way to get the results back via a command line.
You are better of using (OLE) automation.
create a COM component and call the properties and methods of that component. Then you can exchange parameters in both directions.
-
August 25th, 1999, 09:31 PM
#3
Re: Passing/Retrieving Parameters from/to executable file
You could send the parameters to a simple sequential file that could be read by the called .exe. and vice a versa.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|