A registry entry I want to use needs the UNC hostname and path to the folder, but my users will often just select a mapped drive. Can SB extract the host and folderpath name from, say, the PROGDIR variable so it can be used in the Registry.

For context, I need the registry entry so that end users can open a specific chm help file located on a different machine without permitting all chm files to be opened.

Any suggestions would be very much appreciated.

Thanks.