Windows 10 How to change “New Folder” default name for folders in explorer to current date and time? [duplicate]
Solution 1:
Before you begin you must change the Windows System date format under Regional Settings in Control Panel. You cannot use / in the date format since this is an invalid character for folder names. Change the / to – in the date format. You cannot skip this step. Your date format must contain valid characters for folder names.
- Go to registry editor using the
regedit
command. - Go to
HKEY_CLASSES_ROOT\Directory\shell
. - Make a new key
New Folder
. - Inside this key, create another key
command
. - Type the following value for the key inside it (edit the
(Default)
item's data):cmd.exe /c md "%1/%%DATE%%"
- Save and exit Registry Editor.
Now, to create the folders, instead of clicking New > Folder
, instead use the context item New Folder
. This runs the command script defined in step 5, which creates a new folder with the current date.
You will now have a folder with default name as the current date instead of "New Folder".