New Folder: setting default name and numerical suffix format

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
admin
Site Admin
Posts: 65185
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

New Folder: setting default name and numerical suffix format

Post by admin »

Some things I often get asked:

Code: Select all

* To edit the New Folder/New Textfile default name format 
  open the INI file and look for: 
    [NewTemplates] 
    Folder0=\N\e\w \F\o\l\d\e\r   'date/time sensitive, shortcut Ctrl+N 
    Folder1=yyyymmdd              'date/time sensitive 
    Folder2=yyyy-mm-dd            'date/time sensitive 
    File0=\N\e\w \T\e\x\t\f\i\l\e 'date/time sensitive, shortcut Ctrl+T 
    File1=yyyymmdd                'date/time sensitive 
    File2=yyyy-mm-dd              'date/time sensitive 
    Version=1                     'internal flag, do NOT change 
  Note that you can also define textual parts of the date/time sensitive 
  templates, not just dates. To do that you have to backslash all 
  literals, for example: 
    File1=\L\o\g yyyy-mm-dd_hh-nn-ss 
  would create a file auto-named "Log 2004-06-07_10-05-25.txt". 

Code: Select all

* To edit the New Folder/New Textfile numerical suffix format 
  open the INI file and look for:
    [General]
    PostfixNum=-00
  The default is "-00", but you can easily change it to "_000", "(00)", 
  etc. and there are no more limits to the number of digits. When adding 
  text bits ensure that literal alphanumerical characters are escaped by 
  "\", eg. to have a copy postfixed by " (ver 001)" the pattern should 
  be " (\v\e\r 000)".

Post Reply