Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. set service = GetObject ("winmgmts:")
  2.  
  3. for each Process in Service.InstancesOf ("Win32_Process")
  4. If Process.Name = "explorer.exe" then
  5. wscript.echo "explorer running"
  6. wscript.quit
  7. End If
  8. next
  9. wscript.echo "explorer not running"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement