On Sun, Oct 24, 2010 at 01:38:42PM +0000, Mark Morgan Lloyd wrote: > Is it possible to get the original name of a project by doing something like > > scratch:= {$I %PROJFILE% }; Free Pascal doesn't know about projects, but can inline custom environment variables that way, if Lazarus would set them before running the compiler.