Page 1 of 1

New folder name

Posted: 28.04.2019, 07:37
by antoine
Hi all,

When hitting F7 in FreeCommander in order to create a new folder, I would like to create a folder named as follows (with date and time information):

Code: Select all

2019_04_28_07h36
Unfortunately this does not seem possible since "h" is already reserved for the hour value.

Is there any trick to create a folder the way I would like ? Thanks!

Re: New folder name

Posted: 28.04.2019, 07:57
by Timon
There is no problem to create a folder with the name you want.
Without any problems created folder '2019_04_28_07h36' with F7 key in FC XE 797 32-bit donor

Re: New folder name

Posted: 28.04.2019, 08:08
by antoine
Yes, but I would like to have this folder name automatically be proposed in the dropdown list and I don't know how to do it.

For example :

Code: Select all

yyyy_mm_dd_hhhnn_
does not work.

Any idea?

Re: New folder name

Posted: 01.05.2019, 09:27
by afh
try

Code: Select all

yyyy_mm_dd_hh'h'_nn_
btw, I had completely forgotten about this option in freecommander.ini.
So for those who don't know, this is about:
DateFormatCreateFileFolder and TimestampFormatCreateFileFolder options from that file.

What annoys me is that I have to edit the ini files while FC is not running. :(

Re: New folder name

Posted: 01.05.2019, 13:22
by Dreamer
afh - You are right, this is probably exactly what antoine wants.

Code: Select all

yyyy_mm_dd_hh'h'nn
BTW It's not needed to edit ini file, it's possible to change it also in the Settings, F12 > File/folder operations > Rename/Create > Timestamp format.

Re: New folder name

Posted: 02.05.2019, 05:42
by antoine
Thanks a lot afh and Dreamer! Indeed it now works perfectly.

To sum up, if you go to : F12 > File/folder operations > Rename/Create > Timestamp format and chose :

Code: Select all

yyyy_mm_dd_hh'h'nn_
You will get something like:

Code: Select all

2019_05_02_05h40_
This is super useful when one has to name folders based on date & date (hour, min).