[fpc-pascal] compile DPR files

Arne Hanssen fpc at tuxic.net
Mon Mar 24 18:05:07 CET 2008

L skrev:
> I think fpc compiler should compile .dpr files without having to type 
> the extension.. me is lazy..
> fpc prog
> this compiles prog.pp but doesn't do prog.dpr ;-)
> What do we think?

Not answering your question, but if you really are lazy (and I'll you 
are using Windows, having this problem - at least you are not using 
Linux) add this to the registry:


[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]

(copy above text into a file, f.ex. 'CmdTab.reg' and execute).  This 
will set the Tab key to behave somewhat smart so you can do this:

fpc p<Tab>
resulting into: fpc programname.dpr (or whatever)

Pressing <Tab> repeatedly vil cycle through all files starting on the 
letter 'p' in case there are several.

Vennlig hilsen / Best regards      |\     ___,,--,        _
Arne Hanssen, Senja, Norway        /,`--''        \-,,__,'/
http://www.tuxic.net/             |,4   ) )_    ) /~-----'

More information about the fpc-pascal mailing list