@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\TCMD17x64\TCC.EXE"