Skip to content

Instantly share code, notes, and snippets.

@Technblogy
Created January 6, 2021 02:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Technblogy/3394608b500132c09c0695b9706d3198 to your computer and use it in GitHub Desktop.
Save Technblogy/3394608b500132c09c0695b9706d3198 to your computer and use it in GitHub Desktop.
Generate windows directory structure file using tree command on mouse right content menu
REM check technblogy.com for details
@tree "%~1" /F /A | more /E /S +2 > "%~1\%~nx1.ctre"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\getTree]
@="Get Tree Here"
"MultiSelectModel"="Player"
[HKEY_CLASSES_ROOT\Directory\Background\shell\getTree\Command]
@="X:\\Command\\gettree \"%V\""
[HKEY_CLASSES_ROOT\Directory\shell\getTree]
@="Get Tree Here"
"MultiSelectModel"="Player"
[HKEY_CLASSES_ROOT\Directory\shell\getTree\Command]
@="X:\\Command\\gettree \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment