lc = [c:\Program Files\HTML Compressor\ahc.exe "myHTMLfile.html"] ** Note parameter is inside ["] run &lc run "&lc" run (lc) run ('"'+lc+'"') lc2 = ["]+lc+["] run &lc2 run (lc2) lc2 = [']+lc+['] run &lc2 run (lc2) lc = [c:\Program Files\HTML Compressor\ahc.exe 'myHTMLfile.html'] ** Note using ['] instead of ["] run (lc) run "&lc"maybe there is some other combination that will work.
run (lc)
>>>Finally got a simple one to run by doing: >>lc = getfile() >>run ["&lc"] >>>>Now I need to include a parameter in lc:
>>lc = getfile() >>------ option 1 ------- >>lc = lc + [ "] + lcParameter + ["] >>run ["&lc"] && doesn't work because there are ["]s in lc >>run ['&lc'] && doesn't work either >> >>------ option 2 ------- >>lc = lc + [ '] + lcParameter + ['] >>run ["&lc"] && doesn't work either >> >>Any idea how I can accomplish this? >>>>
>>>run ["c:\Set Time\settime.bat"] >>>>>>