How to Explore Your Project’s Directory

When programming you may want to see your programs files and directories to change file names, add/delete files or just to control the application’s executable size. Here’s a simple solution to not have to launch Windows Explorer, and then click you way through your whole file system to you app’s directory. If you have a file system like I do (4 HDs, ~8 partitions, well over 90,000 folders and almost 1,000,000 files…) then you know what I mean :-)

  1. Launch Delphi.
  2. Select Tools|Configure Tools from the menu. The Tool Options dialog is displayed.
  3. Select Add or Add Command (depending on your Borland Delphi / Kylix IDE version). The Tool Properties dialog is displayed.
  4. Fill in the Tool Properties dialog as shown below. If your Windows Explorer is in another location, adjust the path accordingly or you can just use “explorer.exe”.

Title: Open Project Directory
Program: C:\Windows\Explorer.exe
Working dir: (empty)
Parameters: /e, /root, $PATH($PROJECT)

Click “OK”, and then click Close.

Tags: , , , , , , , , , , , , , , ,

No Comments Yet

You can be the first to comment!

Leave a comment

OpenID Login

Standard Login