Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I restore my Delphi associations without re-installing the IDE?

Tags:

delphi

Today I lost my Delphi-2007 associations; does any way exist to restore my Delphi file associations (.pas, .dpk, etc) without running the installer of Delphi?

like image 328
DelphiNewbie Avatar asked Nov 29 '22 04:11

DelphiNewbie


1 Answers

Type assoc /? at a command prompt. This will show you how to associate file extensions with file types.

If the basic registry is not corrupted, you can use assoc *.pas BSD.pasfile to reconnect Delphi 2007 with Pascal source files. Repeat the above with the other file types to reconnect them:

assoc *.dpk BDS.dpkfile
assoc *.dfm BDS.dfmfile

and so forth.

If this is too much work, use the registry repair option in the D2007 installer.

like image 135
Ken White Avatar answered Apr 28 '23 13:04

Ken White