Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for regedit_2000.vbs

(view source code of regedit_2000.vbs as plain text)

  1. ' Begin code for regedit.vbs
  2. ' Downloaded from the Windows Scripting Guide
  3. ' http://www.winguides.com/scripting/
  4. ' Version: 1.0 (November 3, 2000)
  5.  
  6. On Error Resume Next
  7. Dim WSHShell
  8. Set WSHShell=Wscript.CreateObject("Wscript.Shell")
  9. WSHShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey"
  10. WSHShell.Run "REGEDIT.EXE"
  11.  
  12. ' End code
  13.  

page last uploaded: 2017-07-06, 12:37