Command Line Test

Obtaining another process' command-line arguments
Download

Command Line Test Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • David Crow
  • Publisher web site:
  • http://www.codeproject.com/Members/DavidCrow
  • Operating Systems:
  • Windows All
  • File Size:
  • 14 KB

Command Line Test Tags


Command Line Test Description

The Command Line Test application was developed to be a small tool that will allow you to obtain the command-line arguments of a process other than the current process. The two primary functions involved are OpenProcess() and ReadProcessMemory(). Another function that is used, although not required, is NtQueryInformationProcess().There are several ways of getting the list of running processes. One is via the Process32First()/Process32Next() pair. The other is with EnumProcesses() followed by GetModuleFileNameEx() to get the path of the first module in the process which is usually the executable.


Command Line Test Related Software