Customise Right Click New Menu

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
clarkedesign
Posts: 71
Joined: 14 Feb 2013 09:29

Customise Right Click New Menu

Post by clarkedesign »

Hi,

Right Click and you get the option of the "New" menu, which can create folders, files etc....

I'd like to customise this menu.

I never use - New Folder "yyyymmdd"

but would love to have an option for say - New Folder "Month Name yyyy"

or even dd-mm-yyyy


Can this be done ??
Thanks,
Sean Clarke

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

Re: Customise Right Click New Menu

Post by admin »

Yes, by tweaking the INI file (Tools | Open Configuration File...). Look up this section and alter the values to your liking:

Code: Select all

[NewTemplates]
; Tweak: 3 templates for New Folder default names
Version=1
Folder0=\N\e\w \F\o\l\d\e\r
Folder1=yyyymmdd
Folder2=yyyy-mm-dd
; Tweak: 3 templates for New File default names
File0=\N\e\w \T\e\x\t \F\i\l\e
File1=yyyymmdd
File2=yyyy-mm-dd
NewFolderTemplateIndex=4
When done restart XYplorer without saving else your edits will be overwritten: File | Restart without Saving

clarkedesign
Posts: 71
Joined: 14 Feb 2013 09:29

Re: Customise Right Click New Menu

Post by clarkedesign »

Brilliant - worked like a charm

I changed my section to...

Code: Select all

[NewTemplates]
; Tweak: 3 templates for New Folder default names
Version=1
Folder0=\N\e\w \F\o\l\d\e\r
Folder1=dd-mm-yyyy
Folder2=mmmm yyyy
; Tweak: 3 templates for New File default names
File0=\N\e\w \T\e\x\t \F\i\l\e
File1=dd-mm-yyyy
File2=d mmmm yyyy
NewFolderTemplateIndex=0
Thanks,
Sean Clarke

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

Re: Customise Right Click New Menu

Post by admin »

Cool! A late tip:

You can play with scripting command formatdate to see what works and how:

Code: Select all

echo formatdate(, "ddd-dd-mmm-yyyy");
ddd = weekday
mmm= month name

DrChiron
Posts: 40
Joined: 04 Apr 2013 15:01
Location: Los Angeles environs

Re: Customise Right Click New Menu

Post by DrChiron »

This is the second time I got a message to reply to a topic I had no input on. Don- you trying to bug me?
Doc
Retired Hollywood Video Engr
[WinX Home amd64] [XYplorer 20.80.0000]

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

Re: Customise Right Click New Menu

Post by admin »

Nope, these are usually spammers that are quickly removed.

Post Reply