Re: Shell Functions and DOS executables
- From: "Larry Serflaten" <serflaten@xxxxxxxxxxxxxx>
- Date: Sat, 7 Jan 2006 20:16:05 -0600
"VB_Newby" <VB_Newby@xxxxxxxxxxxxxxxxxxxxxxx> wrote
> Ideally, I'd like to retrieve the command line from the Shell
> Function and interrogate the string myself. Another alternative is
> to look of the converted file with a DIR Function. This seems kind
> of crude.
>
> How can I retrieve the command line output of a Shell'ed DOS
> executable?
>
> Any suggestions?
One suggestion would be to pipe the oputput to a file and use VB
to inspect the file when done. This would be especially useful if
you were doing several conversions at a time as it would provide
a record of the entire task.
See what happens when your command like looks like:
cnvrtwfm -l tek00001.wfm > task.txt
That should generate a task.txt file with your desired output.
FYI:
... > task.txt (Creates new file)
... >> task.txt (Appends to file)
LFS
.
- References:
- Shell Functions and DOS executables
- From: VB_Newby
- Shell Functions and DOS executables
- Prev by Date: Re: Printing variables to screen, when in debug
- Next by Date: Re: Shell Functions and DOS executables
- Previous by thread: Shell Functions and DOS executables
- Next by thread: Re: Shell Functions and DOS executables
- Index(es):
Relevant Pages
|
Loading