stuff before compilation?

compiler reaches it, it executes the commandline specified and waits
until the execution completes, and then continues compiling?
Basically, it would let me do this:
Code: Select all
CompilerRun("C:\MyAppToCreateIncludesFromIcons.exe")
; Compiler continues when the above exe is done.
Such as: it would allow the possibility to download the latest version
of something from the internet for inclusion as an embedded binary,
or to includefile something that the run exe just generated, and so on.
Let's say, for whatever reason, that I wanted my app to include a fresh
and current directory listing of C: in my source. I could do it like this:
Code: Select all
CompilerRun("dir c: >c:\list.txt") ; Creates the list!
IncludeFile "c:\list.txt" ; And now includes it! Cool!