way to put 'new folder' in context menu in list area?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Steamer
Posts: 5
Joined: 27 Feb 2026 20:49

way to put 'new folder' in context menu in list area?

Post by Steamer »

Hi,

I was wondering if there is a way to put items like 'New Folder' in the right-click menu when in the file list, other than holding Control to get the alternate list? If there is a white area to right click on, it is there. However, if I am in the Detail List mode, and the folder is full of normal files, I can't find a white are to click in that will give that menu. Been through all the configuration options and can't find anything for this.

I am using the 64 bit version on Windows 11.

Thanks for any help!

Chris

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

Re: way to put 'new folder' in context menu in list area?

Post by highend »

Configuration | General | Custom Event Actions
E.g. choose "Clicking on Line Numbers" - "Right-click on line number"
Switch the "Action" to "Run script"
And in the belonging script column field you can define a script to invoke:

E.g.:

Code: Select all

"New..." #230;
"New folder" #231;
2026-02-27_21-13-16.png
Would present two entries, the first one will open the submenu "New" with all of its entries
and the second one will immediately create a new folder.

Command IDs can be seen here: Menu - Help - List All Commands...

And the help file describes to create scripts / multiline scripts in:
Advanced Topics - Scripting - Multi-line Scripts and Multi-Scripts
...
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

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

Re: way to put 'new folder' in context menu in list area?

Post by admin »

Or just set "Right-click on line number" to "Like white".

Steamer
Posts: 5
Joined: 27 Feb 2026 20:49

Re: way to put 'new folder' in context menu in list area?

Post by Steamer »

Thanks guys - the 'like white' option was nice and easy! Is there a way to do the same type of thing on other fields, like 'size', 'type', 'modified', etc? I normally don't have line numbers showing, and am used to right clickingin any field where its whitespace (just outside a filename, date, etc) in the old File Explorer. In Xyplorer, it has to be on a totally blank field, not just in a white area to the right of content in a field.

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

Re: way to put 'new folder' in context menu in list area?

Post by highend »

In Xyplorer, it has to be on a totally blank field, not just in a white area to the right of content in a field.
Nope...
Configuration | General | Menus, Mouse, Usability | Mouse | [ ] Full name column select
One of my scripts helped you out? Please donate via Paypal

Steamer
Posts: 5
Joined: 27 Feb 2026 20:49

Re: way to put 'new folder' in context menu in list area?

Post by Steamer »

I don't understand - I cleared that checkbox, but dont see any difference in the behavior of the right button, just that I now have to be on the filename to left click/select.

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

Re: way to put 'new folder' in context menu in list area?

Post by highend »

I don't get what you want...

In a fresh instance you get the "click on white space" menu on all other columns as well:
Animation.gif
To see the attached files, you need to log into the forum.
One of my scripts helped you out? Please donate via Paypal

Steamer
Posts: 5
Joined: 27 Feb 2026 20:49

Re: way to put 'new folder' in context menu in list area?

Post by Steamer »

Huh. That is not what I am getting, do I have some other option selected that is changing things? I notice that when you right click it is not selecting the file, when I right click it does. :?: Below is a video I took of what I am seeing. This is on Windows 11/64 bit if it matters.


https://youtu.be/AnewVwnsmvQ

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: way to put 'new folder' in context menu in list area?

Post by jupe »

Configuration | General | Menus, Mouse, Usability | Cell Context Menu | [ ] Hold Ctrl to show cell context menu

you may also still want to reconsider disabling this too,

Configuration | General | Menus, Mouse, Usability | Mouse | [ ] Full name column select

Steamer
Posts: 5
Joined: 27 Feb 2026 20:49

Re: way to put 'new folder' in context menu in list area?

Post by Steamer »

jupe wrote: 28 Feb 2026 22:03 Configuration | General | Menus, Mouse, Usability | Cell Context Menu | [ ] Hold Ctrl to show cell context menu

you may also still want to reconsider disabling this too,

Configuration | General | Menus, Mouse, Usability | Mouse | [ ] Full name column select
I could have sworn I had experimented with that one, must not have done it right or looked close enough, that does the trick!


Thanks to all of you for your help, much appreciated!

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: way to put 'new folder' in context menu in list area?

Post by jupe »

Yeah, its default it disabled, so your experiment was probably enabling it.

Post Reply