Catalog item with environment variable doesn't open application

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
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: 67271
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