FileReplaceEx("D:\\My Documents\\Tech Appraisal Extracts","Inventory  Extracta.bat","X1X2/X3",global.newconnection,false, found)  : I'm using a global variable to set the connection string for an oracle  : application login. The Idea is to use one place to change the value  : instead of trying to change the value in multiple places. I thought that I  : could use the File Replace command to replace the values in the connection  : string. Below is the code that I am using  : DIM FOUND number  : FileReplaceEx("D:\My Documents\Tech Appraisal  : Extracts\","Inventory  : Extracta.bat","X1X2/X3",global.newconnection,false, found)  : When the job runs, I get an error message but no details and when I look at  : the file the file has not been changed. I noticed that when I run the job  : in debug mode it seems to work..  : Any suggestions?   
   |