After playing a little, I figured out a way to add a basic version of this by simply editing the registry. It does not request a name (it simply uses the basic format DD.MM.YYYY HH; MM; SS) and does not enter the rename mode of the explorer:

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\.NewDirectoryBasedOnDate] @="NewDirectoryBasedOnDate" [HKEY_CURRENT_USER\Software\Classes\.NewDirectoryBasedOnDate\ShellNew] "Command"="\"CMD\" /D /E:ON /c for /F \"tokens=1-9 delims=.,\\:/\" %%A IN (\"%%date%%.%%time%%\") DO for /F \"tokens=*\" %%a IN (\"%1\") do md \"%%~dpa\\%%A.%%B.%%C %%D;%%E;%%F\"" "nullfile"=hex: [HKEY_CURRENT_USER\Software\Classes\NewDirectoryBasedOnDate] "FriendlyTypeName"="Directory Based On Date" [HKEY_CURRENT_USER\Software\Classes\NewDirectoryBasedOnDate\DefaultIcon] @="shell32.dll,3" [HKEY_CURRENT_USER\Software\Classes\NewDirectoryBasedOnDate\Shell\open] "LegacyDisable"=hex: [HKEY_CURRENT_USER\Software\Classes\NewDirectoryBasedOnDate\Shell\open\command] @="."
I tested it only on WinXP and hacked a bit (I had to add a fake Shell\open\command key to get a new menu entry)
Changing the command to wscript.exe //nologo "C:\path\to\NewDateDir.wsf" "%1" and saving the following code in NewDateDir.wsf will give you the following:

<?xml version="1.0" ?><job><script language="VBScript"><![CDATA[ if WScript.Arguments.Count < 1 then MsgBox("Bad parameter!") WScript.Quit(1) end if Set FSO=CreateObject("Scripting.FileSystemObject") Function StrFilter(s,ch,rep) StrFilter=Join(Split(s,ch,-1),rep) End Function basedir=FSO.GetParentFolderName(WScript.Arguments(0)) defname=Date&" "&Time defname=StrFilter(defname,"/",".") defname=StrFilter(defname,":",";") name=InputBox("New folder in "&basedir,"New folder",defname) if not IsEmpty(name) and Len(name) > 0 then FSO.CreateFolder(FSO.BuildPath(basedir,name)) end if ]]></script></job>
Even if you decide to write a shell extension, I think that activating the rename mode for researchers will be difficult, especially if you want a partial selection. You should also remember that other programs can implement shell context menus, so you cannot use all kinds of undocumented explorer materials.
source share