Friday, July 22, 2011

VBScript for silent merge of a registry file

Set WshShell = CreateObject( "WScript.Shell" )


PF=WshShell.ExpandEnvironmentStrings("%ProgramFiles%")

wshshell.Run "REGEDIT /s " & Chr(34) & PF & "\QuickTime\FileCap.reg" & Chr(34), 0, True

**********************************************

No comments:

Post a Comment