TEXT TO lcVeeryLongCommandLine NOSHOW PRETEXT (see hgelp for PRETEXT value, it depends of version of VFP) Long command another long command additional long command etc ENDTEXT IF LEN(lcVeeryLongCommandLine) < 8192 &lcVeeryLongCommandLine ELSE IF Version(5) > 700 EXECSCRIPT(lcVeeryLongCommandLine) ELSE lcFileName = SYS(2015) STRTOFILE(lcVeeryLongCommandLine, lcFileName+[.PRG]) COMPILE (lcFileName+[.Prg]) DO (lcFileName+[.fxp]) ERASE (lcFileName+[.*]) ENDIF ENDIF