Do you have a need to create a folder with the current date as the folder name? I create a “Received” folder in each job folder structure. When I get new files I put them in a subfolder with the current date formatted as 2010-05-27 so they sort chronologically.
I do this so often that I wanted to put a command in Windows Explorer that would create the folder for me automatically. Now, I can browse to any folder, right click on a folder, and pick the command New (DATE) Folder. No typing, one click and it is done. To add this command to the Context Menu in Windows Explorer I did a quick and easy edit to the registry. I have used this registry hack for years in WinXP but found no blog posts on how to do the same in Win 7….until now.
Thanks goes to Ralph Arvesen for his post which pointed me in the right direction.
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. That’s all the ID-10-T error trapping I can offer.
Below are the steps to add the New (DATE) Folder to Windows Explorer’s Context Menu in Windows 7.
Use WindowsKey+R to get the Run dialog open and type Regedit
[HKEY_CLASSES_ROOTDirectoryshell]
Add a new Key
New (DATE) Folder
(Add another New Key under this key called “command” and you get the following
[HKEY_CLASSES_ROOTDirectoryshellNew (DATE) Foldercommand]
Rclick Modify the Default value for command key and type the following
CMD.EXE /C MD “%1%%DATE%%”
Try it. Open Windows Explorer. Browse to a folder. Right Click and pick New (DATE) Folder.
Just the feature I’ve been looking for; however, it did not work for me.
Please see my reply to JacksonHinton. Sorry for the error.
Nor did it work for me. Is this different for 64-bit OS?
Sorry, I had a syntax error. Path should be HKEY_CLASSES_ROOTDirectoryshellNew (DATE) Folder then create the Command key below it and populate with the cmd.exe statement.
Thanks for this! I used to have this feature a few years back, and then forgot about it in subsequent computer changes and updates – now I find myself wanting it again!
One comment for people who want to use this: if you copy/paste the command info, make sure that the quotes actually come in as quotes, not a special font character. After pasting, delete the quote, and type it in yourself. Other than that, this tip works like a charm!
Now, any ideas on how can I adapt this to REName a folder that has already been created?
I use the freeware program Bulk Rename Utility. http://www.bulkrenameutility.co.uk
Your method creates date-based folder in selected folder’s context menu.
here is an another approach – adding “new date-based folder” in “New” menu: http://stackoverflow.com/questions/4872786/adding-a-custom-new-folder-to-windows-explorer-context-menu
so there is possible to make new folder by right clicking on empty space in any folder without going up in folder structure.
Works for me !! after my second attempt
delete the quotes ” and retype again
listen to Daniel it works then >>
thanks