Hello Don,
Is it possible to have a custom PATH variable in XY. XY will check this path first before checking the native PATH variable. I trust this would be a simple change but add good value
Scenario:
Users can keep some handy utils in ?\bin folder (as shims) and XY can check this location to see if the exe is available here. It will help in quick launching applications as well as in PFA/POM. This will be useful even for the newly added unrar; 7z support.
Portable Bin / XY Path Variable
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable Bin / XY Path Variable
Not sure if this is possible, let alone easily. Can you give a more specific example?
FAQ | XY News RSS | XY Twitter
Re: Portable Bin / XY Path Variable
The following PFA works where notepad even though not a full path is resolved from registry verbs
txt > notepad
What I ask for is as below
- XY reads a path variable at startup which is a semicolon separated list of paths
- XY prepends this path to Windows PATH variable
- Whenever a PFA is mentioned as a non-absolute path, it first checks if an exe of that name is present in one of the paths first and then checks the registry verbs
WOuld be wonderful if this can be done. No worries, if it doesn't hold merit. I have realised that PFA's work with shortcut files and I will try to use those instead.
txt > notepad
What I ask for is as below
- XY reads a path variable at startup which is a semicolon separated list of paths
- XY prepends this path to Windows PATH variable
- Whenever a PFA is mentioned as a non-absolute path, it first checks if an exe of that name is present in one of the paths first and then checks the registry verbs
WOuld be wonderful if this can be done. No worries, if it doesn't hold merit. I have realised that PFA's work with shortcut files and I will try to use those instead.
-
- Site Admin
- Posts: 60602
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Portable Bin / XY Path Variable
You can already pass portable paths to PFA. I don't think it's necessary to add another mechanism.
FAQ | XY News RSS | XY Twitter