title: how to change value of a variable in a Delphi executable? without sources
body: <p>Sorry for my bad english.
  I have an delphi application exe. 
  it writes "log" files in the directory "c:\". this causes Windows security bugs.</p>
  
  <p>how can I change the value of a variable (inside in exe) </p>
  
  <p>ex:
  drive := 'c:\';
   to 
  drive := 'p:\';</p>
  
  <p>or :</p>
  
  <p>stringlist.savetofile('c:\log.txt');
   to 
  stringlist.savetofile('p:\log.txt')</p>
  
  <p>any way to do this without sources?</p>