Ghost Solution Suite

 View Only
  • 1.  AI Builder Scripting query

    Posted Mar 13, 2007 10:22 AM
    I need to use an ADDTEXT command in an AIC script and the text that i'd like to input into a file is:

    Source="1,S:\OFFSITE\$ASK1$"

    However, if i enter this line into the 'text to be inserted' field then as soon as i return to that function, AI Builder has changed the format of the fields due to the string using a comma. Is there an alternate string i can enter which will add the comma into the file or is there a proceeding char that will fix the issue?


  • 2.  RE: AI Builder Scripting query

    Posted Mar 13, 2007 11:13 PM
    Hi Damon,

    Do you need to use double quotes (") around "1,s:\offsite\$ask1$" ?
    Would you be able to use single quotes (')?

    Cheers

    Chris


  • 3.  RE: AI Builder Scripting query

    Posted Mar 14, 2007 05:29 AM
    Unfortunately it i think it needs double quotes as its an ini style file for a backup app. I managed to find a workaround for the issue for the time being. I included a find and replace exe (http://www.bestcode.com/html/findreplace.html) then ran a command from there to replace the default folder with the result of $ask1$. This appears to be working without issue on my test machine. :)