--- In [EMAIL PROTECTED], sgp <[EMAIL PROTECTED]> wrote: > Alex Peters wrote: > > > --- sgp wrote: > > > >> I believe it's broken because the if line is expanded to > >> if ( "C:Program Files/folder/prog.exe" )do > > > >> notice the absence of \ after C: > > > > On my system, %ProgramFiles% expands to `C:\Program Files'. > > > Even with v. 3.8.14 and \ set as the quote character (Standard > Configuration Options ticked). > On my system it expands the same as on yours, but only when \ isn't the > quote character.
Try this: local ProgramFiles="%ProgramFiles%" debug %ProgramFiles% debug &(ProgramFiles) ------------------------ Yahoo! Groups Sponsor ---------------------~--> Yahoo! Domains - Claim yours for only $14.70 http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
