Hello,
i have a strange problem. Several PC are running a script where i use "ipconfig /all" to get some in. My original script looks like this:
$stream = Run(@ComSpec & " /c ipconfig /all", '', @SW_HIDE, 2)
While 1
$line = StdoutRead($stream)
$cmdreturn &= $line
If @error Then ExitLoop
WEnd
On two PCs i do not get any result, means $cmdreturn=""
So does someone have an idea why the return value is empty?!? For me, it seems that all PCs are installed in the same way (WinXp Prof, same patchlevel etc). If i open an DOS Box and run "cmd /c ipconfig /all" it looks fine.
thanks in advance / karsten