How can I restore my Delphi associations without r

2020-06-23 06:47发布

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?

标签: delphi
4条回答
家丑人穷心不美
2楼-- · 2020-06-23 07:33

For XE3 Rad Studio use the following .reg file as is. For other versions modify paths accordingly.

查看更多
时光不老,我们不散
3楼-- · 2020-06-23 07:35

Usually quicker than 'Open with':

In Win 7:

Paste into the address field at the top of the window: Control Panel\All Control Panel Items\Default Programs\Set Associations

In XP:

My Computer->Tools->Folder Options-> File Types

查看更多
smile是对你的礼貌
4楼-- · 2020-06-23 07:40

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.

查看更多
劳资没心,怎么记你
5楼-- · 2020-06-23 07:40

i will suggest looking for a Repair option in Add/Remove Programs.

i know that the version of Delphi i use has a "Registry only" install to fix per-user issues.

Can also try a System Restore to the point in time before you screwed it up.

Finally you can just manually re-create the associations (Open With...)

查看更多
登录 后发表回答