Page 1 of 1

Customise Right Click New Menu

Posted: 12 Jul 2017 11:38
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 ??

Re: Customise Right Click New Menu

Posted: 12 Jul 2017 11:44
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

Re: Customise Right Click New Menu

Posted: 12 Jul 2017 11:58
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

Re: Customise Right Click New Menu

Posted: 12 Jul 2017 12:04
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

Re: Customise Right Click New Menu

Posted: 14 Jul 2017 16:11
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

Re: Customise Right Click New Menu

Posted: 14 Jul 2017 17:49
by admin
Nope, these are usually spammers that are quickly removed.