safe(st) way rename a delphi Project

Christopher Chase picture Christopher Chase · Nov 18, 2008 · Viewed 9.5k times · Source

Im sure this will be a simple one but have a project that started as a test.
When it was created it was saved as "Project2.dpr"

Now the test is no longer a 'test', i would like to change the projects name to something more meaningful.

whats the best way to do this?

Any issues with just changing the file name and the Program line to the new name? i.e.

meaningful.dpr

Program meaningful;   

Note:Delphi 7 if it matters

Answer

Francesca picture Francesca · Nov 18, 2008

Just do "Save Project as" from the file menu in Delphi giving it the name you want and, later on when you feel like, remove the Project2.* files from your folder as they are not needed anymore.