Advertisement
slyfox1186

add-create-file-list.reg

Jan 28th, 2022 (edited)
1,309
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Windows Registry Editor Version 5.00
  2.  
  3. ; CREATE DIRECTORY FILE LIST
  4.  
  5. ; THIS IS THE REGISTRY FILE THAT ADDS A CONTEXT MENU CALLED
  6. ; 'Create File List' TO FILE EXPLORER. YOU MUST USE THIS SCRIPT WITH THE
  7. ; RELATED BATCH FILE LISTED BELOW TO WORK AS INTENDED. IT IS !IMPORTANT!
  8. ; THAT YOU CHANGE THE LINES 27 AND 38 BELOW TO MATCH THE FULL PATH OF
  9. ; THE BATCH FILE.
  10.  
  11. ; ADD 'create-file-list.bat' = https://pastebin.com/ZDvtfvuE
  12. ; REMOVE CONTEXT MENU REG FILE = https://pastebin.com/g0nngeKj
  13.  
  14. ; RIGHT CLICK ON A FOLDER OR THE ACTIVE FOLDER'S BACKGROUND
  15. ; IN EXPLORER AND SELECT THE CONTEXT MENU 'Create File List'
  16. ; PASSES THE CURRENT DIRECTORY PATH USING SPECIAL VARIABLES %1 OR %V
  17.  
  18. ; [ DIRECTORY ]
  19.  
  20. [HKEY_CLASSES_ROOT\Directory\shell\CreateFileList]
  21. @="Create File List"
  22. "Icon"="C:\\Windows\\System32\\imageres.dll,-1025"
  23. "Position"="Middle"
  24. "Extended"=-
  25.  
  26. [HKEY_CLASSES_ROOT\Directory\shell\CreateFileList\command]
  27. @="\"C:\\Windows\\System32\\cmd.exe\" /E:ON /D /C CALL \"FULL\\PATH\\TO\\create-file-list.bat\" %1"
  28.  
  29. ; [ DIRECTORY\BACKGROUND ]
  30.  
  31. [HKEY_CLASSES_ROOT\Directory\Background\shell\CreateFileList]
  32. @="Create File List"
  33. "Icon"="C:\\Windows\\System32\\imageres.dll,-1025"
  34. "Position"="Middle"
  35. "Extended"=-
  36.  
  37. [HKEY_CLASSES_ROOT\Directory\Background\shell\CreateFileList\command]
  38. @="\"C:\\Windows\\System32\\cmd.exe\" /E:ON /D /C CALL \"FULL\\PATH\\TO\\create-file-list.bat\" %V"
  39.  
  40.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement