Catalog item with environment variable doesn't open application

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
Post Reply
preisl
Posts: 22
Joined: 03 Jul 2015 13:46
Location: Austria

Catalog item with environment variable doesn't open application

Post by preisl »

Hi,

another small thing - I have a catalog item for portable notepad++, so something like:

Caption: Notepad++
Application: C:\users\<myuser>\My ProgramFiles\Notepad++.exe
Action on Click: Open selected item(s) with application

this does work as expected - double click does open notepad++, dragging an item on it will open the item with notepad++.

Now as I am sharing this folder amongst 2 computers and as the username is different, I wanted to replace the application to:

Application: %userprofile%\My ProgramFiles\Notepad++.exe

Now, double-clicking it still works, but when I drag an item onto it, it tells me, that c:\<myxyplorerpath>\%userprofile%\My ProgramFiles\Notepad++ doesn't exist.

Cheers,

Martin

admin
Site Admin
Posts: 64847
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog item with environment variable doesn't open application

Post by admin »

Confirmed, good find! Fix coming...

preisl
Posts: 22
Joined: 03 Jul 2015 13:46
Location: Austria

Re: Catalog item with environment variable doesn't open application

Post by preisl »

thanks for fixing that one.

Post Reply