Keppler
Tue Jan 25 05:24:36 CST 2005
thank's
"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> escreveu na mensagem
news:#LKElskAFHA.2060@TK2MSFTNGP15.phx.gbl...
> Keppler wrote:
>
> > Hi all,
> >
> > any know script for write in registry windows?
> Hi
>
> WSH's RegWrite method:
>
> '--------------------8<----------------------
> Set oShell = CreateObject("WScript.Shell")
> oShell.RegWrite "HKCR\PerlScript\Shell\Open\Command\", _
> "perl.exe ""%1""", "REG_SZ"
> '--------------------8<----------------------
>
> and:
>
> Script Repository: Registry
>
http://www.microsoft.com/technet/scriptcenter/scripts/os/registry/default.mspx
>
>
> WSH 5.6 documentation (local help file) can be downloaded from here
> if you haven't got it already:
>
http://msdn.microsoft.com/downloads/list/webdev.asp
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
>
http://www.microsoft.com/technet/scriptcenter/default.mspx