How to rename default 'New Folder' to something else.

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Shutey
Posts: 45
Joined: 25 Apr 2023 10:11

How to rename default 'New Folder' to something else.

Post by Shutey »

I spend a lot of time sorting photos and frequently use the "New Folder" function which I then commonly have to rename to "photos".

I have set up a folder in "New Items" called "photos" and given "New Items" a keyboard short-cut but it feels like a clunky workround requiring both keyboard then mouse actions everytime.

Is there a way to either...
Create a keyboard short-cut to an individual item within the "New Items" list
OR
A way to customise the default "New Folder" function so that the default new folder is called whatever I want it to be e.g., "photos."

Thanks
Dell XPS 17" 12th gen i9 cpu, 64GB Ram, 2TB SSD, RTX 3060 6GB Vram running Windows 11 Pro
Lenova YOGA 9i Pro 16" Ultra i9 cpu, 64GB Ram, 1TB SSD, RTX 4070 8GB Vram running Windows 11 Pro

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

Re: How to rename default 'New Folder' to something else.

Post by highend »

Both would be possible.

For the second one, edit the XYplorer.ini file (while XY isn't running):

Code: Select all

[NewTemplates]
Version=1
; Tweak: 5 templates for New Folder default names
Folder0=\P\h\o\t\o\s
Folder1=yyyymmdd
Folder2=yyyy-mm-dd
Folder3=
Folder4=
In other words, replace Folder0=... with my example...
One of my scripts helped you out? Please donate via Paypal

Shutey
Posts: 45
Joined: 25 Apr 2023 10:11

Re: How to rename default 'New Folder' to something else.

Post by Shutey »

Thanks @highend that worked perfectly.
Both would be possible.
Are you able to shed some light on how to set up a keyboard short-cut to an individual "New Item" as well as I suspect that could be useful.

Thanks
Dell XPS 17" 12th gen i9 cpu, 64GB Ram, 2TB SSD, RTX 3060 6GB Vram running Windows 11 Pro
Lenova YOGA 9i Pro 16" Ultra i9 cpu, 64GB Ram, 1TB SSD, RTX 4070 8GB Vram running Windows 11 Pro

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

Re: How to rename default 'New Folder' to something else.

Post by highend »

User - Manage Commands...
Run Script
Button "New..."
Caption field: New photo folder or ... whatever you like
Script field:

Code: Select all

new("Photos", "dir");
And then the "Assign Keyboard Shortcut..." button...
One of my scripts helped you out? Please donate via Paypal

Shutey
Posts: 45
Joined: 25 Apr 2023 10:11

Re: How to rename default 'New Folder' to something else.

Post by Shutey »

Thank you @highend that worked beautifully - you're a star.
Dell XPS 17" 12th gen i9 cpu, 64GB Ram, 2TB SSD, RTX 3060 6GB Vram running Windows 11 Pro
Lenova YOGA 9i Pro 16" Ultra i9 cpu, 64GB Ram, 1TB SSD, RTX 4070 8GB Vram running Windows 11 Pro

Post Reply