Hello,
I'm trying to output the IPCONFIG-output to a file with the following code and the outputfile is created, but there is only the "OK = 0" and the REDIRECT-output is showing at the screen.code:
BREAK ON
? "Anfang"
$OK = REDIRECTOUTPUT("%TEMP%\IPConfigAll.txt", 1)
? "OK = $OK"
SHELL "IPCONFIG /ALL"
$OK = REDIRECTOUTPUT("")
? "OK = $OK"
? "Erledigt"
_________________________
Jens Kalski