If I do in ms-dos:
c:\program\arj\arj.exe l c:\file\c2000.arj>list.txt <--- I working OK and create one file named list.txt with the list of files compressed in the file rar.
But if I do it script, the vars $STDERR_CHILD and $TDOUT_CHILD do not show anything and the file list isn't created!!!
#include <Constants.au3>
Local $foo = Run(@ComSpec & " /c c:\program\arj\arj.exe l c:\file\c2000.arj>list.txt","c:\program\arj", @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)
Local $line
While 1
$line = StdoutRead($foo)
If @error Then ExitLoop
MsgBox(0, "STDOUT read:", $line)
Wend
While 1
$line = StderrRead($foo)
If @error Then ExitLoop
MsgBox(0, "STDERR read:", $line)
Wend
And if I do it other script it does not work either.
run ("c:\program\arj\arj.exe l c:\file\c2000.arj>list.txt","c:\program\arj",@SW_HIDE)
ANY HELP PLEASE?