Andrew Staley wrote:
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
Quote:
> execute from a GPO.
Set WshShell = WScript.CreateObject("WScript.Shell")
cmd = "regsvr32 ""c:\program files\my prog\mydll.dll"" /s"
WshShell.Run cmd, 1, true
--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)