To create cover letters, lists, etc., I often use a batch script with which I can write the contents of folders to a TXT file. I then use the list of the TXT file to document the contents of the folders, in the letters, lists, etc.
It would be very helpful if the cmd commands, among others, could be accessed via a power toy via an additional entry in the Explorer's context menu.
Scenario when this would be used?
I comment with the lists of the TXT file
in cover letters, which documents accompany a letter
The function is helpful for creating tables of contents
When passing on links to directories in MS SharePoint, I include the lists in order to document which files can be found under the link. Especially if the link is distributed to third parties outside of my organization.
In Windows 10 it was possible to insert a shortcut to the batch script into the context menu via the "SendTo" directory. With Windows 11 this no longer seems to be possible, so you can only have the selected directory displayed in a corresponding list by dragging and dropping it onto the batch file. This is very cumbersome compared to an entry in the Explorer context menu
Supporting information
Here is the content of my batch file, which documents the functions most easily
dir %1*.* /B /ON > d:\pdf-files\dirlist.txt
tree %1 /F /A > d:\pdf-files\dirtree.txt
d:\notepad++\notepad++.exe d:\pdf-files\dirlist.txt d:\pdf-files\dirtree.txt
Description of the new feature / enhancement
To create cover letters, lists, etc., I often use a batch script with which I can write the contents of folders to a TXT file. I then use the list of the TXT file to document the contents of the folders, in the letters, lists, etc. It would be very helpful if the cmd commands, among others, could be accessed via a power toy via an additional entry in the Explorer's context menu.
Scenario when this would be used?
Supporting information
Here is the content of my batch file, which documents the functions most easily
dir %1*.* /B /ON > d:\pdf-files\dirlist.txt tree %1 /F /A > d:\pdf-files\dirtree.txt d:\notepad++\notepad++.exe d:\pdf-files\dirlist.txt d:\pdf-files\dirtree.txt