home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 July & August / PCWorld_2003-07-08_cd.bin / Software / Vyzkuste / prepinace / prepinace.exe / OE.VBS < prev    next >
Text File  |  2003-01-07  |  700b  |  18 lines

  1.  
  2.     Set WshShell = WScript.CreateObject("Wscript.Shell")
  3.  
  4.     'Clear the values from the registry
  5.     WshShell.RegWrite "HKCU\Identities\Last Username", ""
  6.     WshShell.RegWrite "HKCU\Identities\Last User ID", ""
  7.     WshShell.RegWrite "HKCU\Identities\Default User ID", ""
  8.     WshShell.RegWrite "HKCU\Identities\Start As", ""
  9.  
  10.     'Launch Outlook Express
  11.     Return = WSHShell.Run ("Msimn.exe" ,1 , true)
  12.     
  13.         'Clear the values from the registry
  14.     WshShell.RegWrite "HKCU\Identities\Last Username", ""
  15.     WshShell.RegWrite "HKCU\Identities\Last User ID", ""
  16.     WshShell.RegWrite "HKCU\Identities\Default User ID", ""
  17.     WshShell.RegWrite "HKCU\Identities\Start As", ""
  18.