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!
Go to a specified folder using a User Button
-
highend
- Posts: 14926
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Go to a specified folder using a User Button
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
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
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 ?
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
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
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
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%)
(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
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,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!?
"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\";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
Check out this:
To see the attached files, you need to log into the forum.
FAQ | XY News RSS | XY X
-
LindaLooUK
- Posts: 34
- Joined: 02 Apr 2023 21:27
Re: Go to a specified folder using a User Button
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.
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.
XYplorer Beta Club