Set objShell = WScript.CreateObject ("WSCript.shell")
On Error Resume Next
RegKey = objShell.regread("<Reg key>") If Err.Number Then Wscript.Echo("Reg key does not exist") Else objShell .run "c:\winnt\system32\Ica_PassThrough\pn.exe", 6, True End If
Set objShell = WScript.CreateObject ("WSCript.shell")
On Error Resume Next
RegKey = objShell.regread("<Reg key>") If Err.Number Then objShell.RegWrite("<regkey>") Else objShell .run "c:\winnt\system32\Ica_PassThrough\pn.exe", 6, True End If
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.