
Using the resource kit utilities in VBScript
You must call up a copy of the command process to use redirection! Using the
COMSPEC variable is the easiest way.
oWS.Run "%comspec% /c net use > mappings.txt", 1, true
Quote:
> I'm trying to integrate some of the resource kit
> utilities in my VBScript, but I'm having a difficult time
> using the ">" redirector to output the results into a
> file. Is there a work around for this?