Go to a specified folder using a User Button

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
LindaLooUK
Posts: 34
Joined: 02 Apr 2023 21:27

Go to a specified folder using a User Button

Post by LindaLooUK »

I'm struggling to know what syntax to use to jump to a particular directory when left-clicking on a custom User Button.

Can anyone help with this?

Thanks!

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Go to a specified folder using a User Button

Post by highend »

goto "<path>";
One of my scripts helped you out? Please donate via Paypal

LindaLooUK
Posts: 34
Joined: 02 Apr 2023 21:27

Re: Go to a specified folder using a User Button

Post by LindaLooUK »

Wow! That was quick. Thanks very much. :)

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Go to a specified folder using a User Button

Post by Horst »

What a waste of toolbar space.
One button for one dir.
Why not adding your dir(s) to the favorite folders.
One button, many targets.

Or is the goto part of a script ?
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

LindaLooUK
Posts: 34
Joined: 02 Apr 2023 21:27

Re: Go to a specified folder using a User Button

Post by LindaLooUK »

I take your point Horst :) but I don't find the Favourites list very easy to view as it displays the full path rather than an alias - perhaps I've missed something!? Also, I don't mind having a few buttons in the toolbar dedicated to my most commonly used folders as I find it quick and easy to jump to certain directories with just one click.

RalphM
Posts: 2086
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Go to a specified folder using a User Button

Post by RalphM »

You might want to look into Tabsets which allows you to set up various sets of commonly used locations to switch between with one click.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: Go to a specified folder using a User Button

Post by klownboy »

LindaLooUK wrote: 05 Apr 2023 23:31 I don't find the Favourites list very easy to view as it displays the full path rather than an alias - perhaps I've missed something!?
You don't have to look at folder paths. You can provide a title for your folder as well as an icon If desired. Like this for example,
"Photos|D:\Graphics\Icons\photo_camera_03.ico" goto "H:\Pictures\";
Go to Tools > List Management > Favorite Folders. Any existing favorites will be there. From there, click on edit mode (the pencil at the bottom) and you can easily ad or edit the Favorites. Use a format similar to this below.

Code: Select all

"Home [C:\]|:home" #1401;
"Photos|D:\Graphics\Icons\photo_camera_03.ico" goto "H:\Pictures\";
"Wallpaper|D:\Graphics\Icons\wallpaper_08.ico"goto "G:\Wallpaper\1920x1080\";
"XY scripts|D:\Graphics\Icons\xy.ico" goto "D:\Tools\XYplorer\Scripts\";
"AHK scripts|D:\Graphics\Icons\ahk.ico" goto "D:\Tools\AutoHotkey\AHKscripts\";
"Downloads|D:\Graphics\Icons\down_box.ico" goto "G:\downloads\";
All you will see is when you click on Favorites is the titles like Photos or Wallpaper for example.
Favorites.jpg
To see the attached files, you need to log into the forum.

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

Re: Go to a specified folder using a User Button

Post by admin »

Check out this:
To see the attached files, you need to log into the forum.

LindaLooUK
Posts: 34
Joined: 02 Apr 2023 21:27

Re: Go to a specified folder using a User Button

Post by LindaLooUK »

Thanks for the input guys, this is really helpful. I shall go away and have a play with the suggestions as they sound great.
I clearly need to spend more time exploring the features and extensive customisation options that are available.

I'm really loving this software by the way. :D

Post Reply