Aliases don't work as expected.

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

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

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Amunrah
Posts: 6
Joined: 21 Sep 2021 19:43

Aliases don't work as expected.

Post by Amunrah »

There is an error in the paths of nested aliases. Please see attachment for details.
alias_bug.gif
To see the attached files, you need to log into the forum.

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

Re: Aliases don't work as expected.

Post by admin »

Please describe it in words.

Amunrah
Posts: 6
Joined: 21 Sep 2021 19:43

Re: Aliases don't work as expected.

Post by Amunrah »

admin wrote: 22 Sep 2021 10:13 Please describe it in words.
Create aliases:

1. home=%user%\home -good
2. dir=<get alias home>\somedir -good
3. sub=<get alias dir>\subdir -bug

or

1. dir=<xypath>\.. -good
2. sub=<get alias dir>\subdir -good
but in file-associations:
3. ext><get alias sub>\someprogram.exe -bug

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

Re: Aliases don't work as expected.

Post by admin »

Nested aliases, I see. Should be fixed in next beta.

Amunrah
Posts: 6
Joined: 21 Sep 2021 19:43

Re: Aliases don't work as expected.

Post by Amunrah »

admin wrote: 24 Sep 2021 09:45 Nested aliases, I see. Should be fixed in next beta.
v22.20.0222 - 2021-09-24 15:10
...
Aliases: The nesting of aliases using <get ...> was limited. It's not
anymore. Now you can do this
...
Thanks a lot for a quick fix.

But some aliases (with relative paths) still do not work in the file-association dialog (and file-icons):

parent=<xypath>\..
ext><get alias parent>\someprogram\program.exe -dont work

or

dir=%user%\dir
ext><get alias dir>\someprogram\program.exe -dont work

Post Reply