@PIDCOMMAND[pid] : Returns the startup command line for the specified process ID.

 

Example:

 

set pid=%@pid[tcc.exe]

echo %@pidcommand[%pid]

"C:\Program Files\JPSoft\TCMD28\TCC.EXE"