OK I found what you are talking about
HERE. Quite simply it runs a batch "Dir"ectory command on the current folder and sends the output to a text file.
This can be done easily as a "Send To" option but you will need to modify the FileListing.BAT file slightly.
Their example:
dir /a /-p /o:gen >filelisting.txt
My modification. Use this for FileListing.BAT:
dir %1 /a /-p /o:gen >%TEMP%\filelisting.txt
NOTE: In their example they store FileListing.BAT in c:\windows and that is fine if you can access that location but it may be protected depending on your system permissions, so if you can't get to C:\windows it will also work in the root C:\
Now you need to add it to the "Send To" Menu. This is a protected location so to get to it you need to use an environment variable. Paste this into Windows Explorer's path (upper left of the window) and hit enter:
%APPDATA%\Microsoft\Windows\SendTo
Then right-click in an empty spot in the right window pane and choose
New >
Shortcut
Then hit
Browse to locate and select your FileListing.Bat file and then hit
OK and
Next. In the next window give it a name; you will see this so it should be descriptive (from their example they suggest
Create File Listing) and then hit
Finish.
You should now have a functioning script and a shortcut to it which looks like:
One final item. The original batch file would store the output to the same directory as the FileListing.BAT file which was C:\Windows but this folder, as I mentioned before, may be protected depending on the users permissions (plus it goes against recommended coding practices for Vista/W7 data) so instead I have it going to the users temporary folder. To access this folder simply enter:
%TEMP%
into Windows Explorer (just as you did for Send To above) and you will find the FileListing.TXT in that folder.
After you have run the BAT file once you can even create a desktop shortcut to this results file. Simply right-click on a blank spot on the desktop and select
New >
Shortcut but this time type in
%temp%\filelisting.txt and hit
Next then give it a name such as
File Listing Results and hit
Finish.