Set Variable PROGRAMFILES to 
Set Variable FILECONTENT to 
Set Variable EOF to FALSE
Get Common Folder Location System->Program Files Directory into PROGRAMFILES
while Variable EOF Equals FALSE loop
  Read from Text File $SUPPORTDIR$textfile.txt into Variable FILECONTENT (get EOF into EOF)
  Replace e:\program files\ with $PROGRAMFILES$ in variable FILECONTENT
  Write into Text File c:\output.txt from Value $FILECONTENT$ (at end of file)
wend
 
