karabin,

I think you are looking for this...
code:
ReDirectOutput("\\papasmurf\temp$\@WKSTA.log")
SHELL "%COMSPEC% /C c:\cmdinfo\cmdinfo.exe > Nul"

!! Be cautious with the NUL as a common mistake is to do NULL and it creates a file where the script was executed.

Or to a file..
code:
SHELL "%COMSPEC% /C c:\cmdinfo\cmdinfo.exe > \\papasmurf\temp$\@WKSTA.log"

Things to remember about with the Redirects ">"..
  • A single ">" always starts or erases a file.
  • A double ">>" appends to the end of a file.
HTH,
- Kent

[ 30 April 2002, 04:28: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's