Type assoc /?in the command line. This will show you how to associate file extensions with file types.
If the main registry is not corrupted, you can use assoc *.pas BSD.pasfileDelphi 2007 to reconnect to the Pascal source files to reconnect. Repeat the above steps with other types of files to reconnect them:
assoc *.dpk BDS.dpkfile
assoc *.dfm BDS.dfmfile
etc.
If this is too much, use the registry repair option in the D2007 installer.
source
share