Scripting a Command Prompt Application
Scripting a Command Prompt Application
(OP)
I have a dos application that requires user interaction through an application specific command prompt after execution. I would like to "script" this application and the subsequent command line commands for the application.
I have heard perl or a batch file may help and I have read alot about them in the last few days. I know how to execute operating system commands in perl and batch. This will get the application started in a shell. But how do I issue the commands that go in the command for the application?
I have heard perl or a batch file may help and I have read alot about them in the last few days. I know how to execute operating system commands in perl and batch. This will get the application started in a shell. But how do I issue the commands that go in the command for the application?





RE: Scripting a Command Prompt Application
c:\> aplication.exe <answers.txt
Richard Ay
COADE, Inc.
RE: Scripting a Command Prompt Application
That worked like a charm.
And just think, the developer of the application was going to charge us $2,000 to make the application "scriptable".
I didn't even realize the win 2k redirection was so similar to UNIX.
RE: Scripting a Command Prompt Application
TTFN
RE: Scripting a Command Prompt Application
;)
Richard Ay
COADE, Inc.
RE: Scripting a Command Prompt Application
TTFN