Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: retrieving get command line commandline params parameters EXE process application
Run('Notepad.exe', 'Testing 1 2 3') objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") colProcesses = objWMIService.ExecQuery( "Select * from Win32_Process Where Name = 'Notepad.exe'") ForEach objProcess In colProcesses strCommandLine = objProcess.CommandLine Message("NotePad Command Line", strCommandLine) Next
Article ID: W18480
Filename: Get Commandline Parameters from Any Process.txt
File Created: 2008:12:15:08:13:32
Last Updated: 2008:12:15:08:13:32