Right Click Contact Menu - Create Other types of new file

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

Right Click Contact Menu - Create Other types of new file

Post by clarkedesign »

HI,

I'm happy with editing the Configuration File and tweaking the [NewTemplates] section to create new Folders and Text files, when right clicking a choosing the 'New' Menu

Just wondered if we can also create other new files of different types.

I'd like to create a file with todays date that has a .docx extension, so it opens in Microsoft Word.

Can this be done?

Also are there any other variables that we can use in the file name apart from date variables.
Is this documented anyhwere please?
Thanks,
Sean Clarke

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

Re: Right Click Contact Menu - Create Other types of new file

Post by highend »

The "New Items Menu" docs are in the .chm file and it describes how files with the current date can be created...
One of my scripts helped you out? Please donate via Paypal

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

Re: Right Click Contact Menu - Create Other types of new file

Post by clarkedesign »

I'm asking if I can create files that are not .txt files
I know how to craete files with current date etc...

I'd like to create a file with todays date that has a .docx extension, so it opens in Microsoft Word.
Thanks,
Sean Clarke

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

Re: Right Click Contact Menu - Create Other types of new file

Post by highend »

That section is for folders and txt files, nothing else (viewtopic.php?p=132777#p132777 shows
a way to abuse it for different extensions but it seems this does not work as of today)
Use the "New items" context menu entry for any other file types to create (including ones with the current date)
One of my scripts helped you out? Please donate via Paypal

Post Reply