Skip to content

Instantly share code, notes, and snippets.

@hmasato
Created October 17, 2013 07:13
Show Gist options
  • Select an option

  • Save hmasato/7020400 to your computer and use it in GitHub Desktop.

Select an option

Save hmasato/7020400 to your computer and use it in GitHub Desktop.
[Win, reg] _createFolder_install.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnDate]
@="NewFolderBasedOnDate"
[HKEY_CURRENT_USER\Software\Classes\.NewFolderBasedOnDate\ShellNew]
"Command"="cmd /d /e:on /c if not exist \"%1\\..\\%%date:/=%%\" mkdir \"%1\\..\\%%date:/=%%\""
"nullfile"=hex:
[HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnDate]
"FriendlyTypeName"="Folder (Date)"
[HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnDate\DefaultIcon]
@="shell32.dll,3"
[HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnDate\Shell]
[HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnDate\Shell\open]
"LegacyDisable"=hex:
[HKEY_CURRENT_USER\Software\Classes\NewFolderBasedOnDate\Shell\open\command]
@="."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment