File Path Field and Folder Path Field

These two Server Behavior controls are similar to a URL text field, but these will provide you with an absolute path to the file or folder on the hard drive, as in:

c:\inetpub\wwwroot\mydirectory

This CFDIRECTORY Server Behavior shows the Folder Path Field control in use:

After clicking the folder icon, the following dialog box is invoked, which allows the user to choose a directory on the local server:

When using this control in your Server Behavior, you'll have to include the JS file, as well as the folder icon in your MXI file.

You can download the controls from here:

File Path Field

Folder Path Field