Can I use relative paths in favorite settings?
Yes. You can enter path such using the
.. (parent directory) and
\ (root directory) symbols in favorite locations or advanced settings. Relative paths are “expanded” based on the current QAP working directory (see What’s the QAP working directory?).
In the following table, the relative paths are expanded as if the working directory was “M:\MyTools\QAP\”.
|Relative path||Expanded path|
That way, a user having to run various tools on a host PC can carry a set of apps on a USB drive or key and use Quick Access Popup to easily launch these tools regardless of the drive letter assigned to the USB device by the host system. Combined with the use of system environment variables and special folders to easily access host PC’s system folders and user’s data, this make QAP the perfect tool for tech support users.
Relative paths can be used in favorite locations, advanced settings Parameters, Launch with this application and Start in. It can also be used for icons with the Edit icon resource link in the Menu Options tab of the Add/Edit favorite dialog box.
For favorites of types Application and Document, you can also enter a location without path. In this case, the file is searched in the PATH environment variable directories or in app paths in the Windows registry. In these examples, the folders in the resolved path column are assumed to be in the PATH variable. If you enter a location without a file extension, it is searched with all executable extensions in the PATHEXT variable: .COM; .EXE; .BAT; .CMD; .VBS; etc.
|File without path||Resolved path|