Advertisement
madcatzano

Untitled

Dec 10th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. do
  2.  
  3. CreateObject("Scripting.FileSystemObject").Drives
  4. WScript.sleep 60
  5. If d.DriveType = 4 Then CreateObject("Shell.Application").Namespace(17).ParseName(d.DriveLetter & ":").InvokeVerb("Eject")
  6.  
  7. End If
  8. Next
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement