Donneray

Information from classes and day to day stuff

Creating a new folder with YYYY-MM-DD

  1. Go to registry editor using ‘regedit’ command.
  2. Go to HKEY_CLASSES_ROOT\Directory\shell.
  3. Make a new key New Folder.
  4. Inside this key, create another key command.
  5. Type the following value for the key inside it: cmd.exe /c md “%1/%%DATE%%”
  6. Save and exit registry editor.
  7. Right-click on the folder in Windows Explorer, and click on New Folder