<< Click to Display Table of Contents >>

Navigation:  TCC-RT > Commands >


Purpose:Create, modify, or display an environment variable in another process


Format:SETP pid [/P /R filename] var[=value]


pidProcess ID, or the window title, or the task name
varThe variable name to set. If you are displaying matching variables, the name can contain wildcards.
valueThe value of the variable


/PPause after displaying each page
/RRead variables and values from a file


See also UNSETP.




SETP works by injecting a dll into the specified process and executing a command in that dll to display or change the environment variable. Depending on your Windows configuration, you may need to be running an elevated session for SETP to work.