Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command line of specified process

Status
Not open for further replies.

TJNweb

Programmer
Dec 9, 2002
50
EE
Does anybody can help me to get command line of the specified process or give any idea how to do this?

Thanks in advance
 
I'm not sure what you mean but if you want to execute a DOS type command from within a program you can use the system() function.
tellis.gif

programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.
 
I mean I want to get command line arguments (or pointer) of specific process like ''GetCommandLineA'', but only for defined process (for example: ''c:\program files\office2000\winword.exe c:\mydocuments\mydoc.doc'')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top