radstudio logo

Fixing your lost delphi (.pas) Explorer file association for RadStudio

I recently installed Visual Studio 2015 RC and found that after the application install I had lost my default pascal (.pas) Explorer file association i.e. double clicking a file in Explorer to load in an already open RadStudio The first step (under Win7) to re-associate the file extension to allow an already open RadStudio to load the clicked on pascal file is unfortunately to run "Modify, Repair, Uninstall" for your existing RadStudio installation, for my case XE8.

Its faster to do this from an ISO image than the Start menu which will load files over the internet, its still going to take a while but an SSD can make life a little faster.

After its finished and you have selected as part of the install to associate all the files back to RadStudio you should be good to go.

However in my case I had tried to re-associate the .pas file extension with BDS.exe and BDSLauncher.exe which meant my "UserChoice" registry settings was still pointing to the wrong program. It may just have worked to do this still rather than Repairing the XE8 install, I'll have to try that next time.

  • Find the Registry setting HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
  • Find the .pas extension
  • Change the "UserChoice" "Progid" value to "BDS.PasFile". You should see an entry for this in the "OpenWithProgids"
  • Filed under: Embarcadero  Tags: Embarcadero, Delphi, Cpp, Xe8

0 Responses to “Fixing your lost delphi (.pas) Explorer file association for RadStudio”

Sorry, comments have been closed for this post.