Skip to content

Instantly share code, notes, and snippets.

@mehmetbebek
Created April 1, 2014 13:23
Show Gist options
  • Save mehmetbebek/9913895 to your computer and use it in GitHub Desktop.
Save mehmetbebek/9913895 to your computer and use it in GitHub Desktop.
Random Rename By Shell Command Directly
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\mgnfcnt]
@="Random Rename"
[HKEY_CLASSES_ROOT\*\shell\mgnfcnt\command]
@="cmd /c For /f \"tokens=1-3 delims=/ \" %%a in ('date /t') do ren \"%1\" %%c-%%b-%%a-%%random%%.*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment