View Single Post
Old 05-23-2008   #2 (permalink)
Joe Fawcett


 
 

Re: Script DOS Command?



"Andrew Staley" <noreply@xxxxxx> wrote in message
news:FFCB14B6-2A19-4EDF-B8E3-DB25D47A8AD2@xxxxxx
Quote:

> I need to create a VBS script that runs this;
>
> regsvr32 "c:\program files\my prog\mydll.dll" /s
>
> Can anyone point me in the right direction, I've only ever been able to do
> simple scripts before that point to BAT files to do what I need, in this
> case though it wouldn't work so I actually need it in a VBS script that
> will execute from a GPO.
>
> Thanks in advance, Andrew.
Look at the WSH documentation for the Shell.Run method.
http://msdn.microsoft.com/en-us/libr...ky(VS.85).aspx

--

Joe Fawcett (MVP - XML)
http://joe.fawcett.name

My System SpecsSystem Spec