×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Visual Basic
Posted by: userc865b
Added: Oct 3, 2017 9:15 AM
Views: 6
Tags: vbs
The Win32_Process class makes available lots of information about the running process
  1. dim service, Process
  2.  
  3. set service = GetObject ("winmgmts:")
  4.  
  5. for each Process in Service.InstancesOf ("Win32_Process")
  6.         wscript.echo Process.Name & " " & Process.ExecutablePath
  7. next