Thursday, February 2, 2012

Open current file from Delphi IDE in Windows Explorer


When working in the Delphi IDE, I often want to access the currently opened file from within Windows Explorer. For intance, because my Version Control client du jour integrates way nicer with the Windows Explorer than within the IDE. Or because I am on an ancient version control system that requires me to manually clear the read-only flag on files whenever I want to do some local hacking (*cough* Visual SourceSafe *cough*).

Anyway, I always setup a nice little "Tool" in the Delphi IDE that allows me to do this through a simple ALT-T, E key combo. And on every Delphi reinstall on a new machine it turns out I forgot what the exact parameters are, and google always deludes me when I try to look it up.

Setup
  
  1. From the IDE main menu, select Tools, Configure Tools.
  2. Select Add
  3. Set Title to &Explore
  4. Set Program to Explorer
  5. Set Parameters to /select, $EDNAME



Done.

No comments:

Post a Comment