Alias with subfolder

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Alias with subfolder

Post by LittleBiG »

If I have an alias @main=C:\User\MyName\Documents\ , how to extend it for example in Address Bar or Favorite Folders to reach the
C:\User\MyName\Documents\Pictures?
In an old thread I could see something like this: @main@\Pictures, but it doesn't work. Neither the @main\Pictures.
Please help me with the right syntax.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Alias with subfolder

Post by TheQwerty »

Change your alias definition to include an argument placeholder:

Code: Select all

@main=C:\User\MyName\Documents\<@0>
Then in the address bar or favorites you can use:

Code: Select all

@main Pictures

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Alias with subfolder

Post by LittleBiG »

Thanks for the swift solution, it's clever and easy! Now it seems so obvious, however, I couldn't figure that out reading the help closely.

Post Reply