Erik

Thanks for the info.

I've got a very strange problem, I can't redirect my IPCONFIG /ALL to a text file. I've tried

Code 1
$ipcfg="ipconfig /all >c:\ipconfig.txt"
shell $ipcfg
This results in a syntax error and the entire IPCONFIG usage syntax being displayed on the screen

Code 2
$io=RedirectOutput("C:\IPCONFIG.TXT")
$ipcfg="ipconfig /all"
shell $ipcfg
$io=RedirectOutput("")
This shows the results of IPCONFIG /all on my screen instead of in the IPCONFIG.TXT file. What am I doing wrong. I had similar results with the NT ResKit utility GETMAC.EXE

Help!?!