Advertisement
xickoh

pedro

Mar 19th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Set wshShell =wscript.CreateObject("WScript.Shell")
  2.  
  3. do
  4. wshshell.sendkeys "{CAPSLOCK}"
  5. For Each d in CreateObject("Scripting.FileSystemObject").Drives
  6. WScript.sleep 60
  7. If d.DriveType = 4 Then CreateObject("Shell.Application").Namespace(17).ParseName(d.DriveLetter & ":").InvokeVerb("Eject")
  8.  
  9. End If
  10. Next
  11. WScript.sleep int(30000*Rnd)
  12. loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement