Need a complete list of files and directories from Windows? Don't feel like typing them manually? Here's the answer...
@echo ==================================================================
@echo ==================================================================
@echo Save this file as getDirList.bat in your SendTo directory.
@echo SendTo is under Documents and Settings in each user's directory.
@echo Right-click on any directory in Windows Explorer and choose
@echo Send To - getDirList.bat
@echo ==================================================================
@echo ==================================================================
@echo Dumping directory listing to c:\dirlist\dirListing.txt
@echo (This may take some time for large directory trees.)
@REM the /A switch lists all hidden and system files as well.
@REM the /S switch lists all subdirectories and their contents.
@mkdir c:\dirlist
@dir %1 /A /S > c:\dirlist\dirListing.txt
@echo Opening c:\dirlist\dirListing.txt in Notepad (Close notepad to delete file)
@notepad c:\dirlist\dirListing.txt
@echo Deleting c:\dirlist\dirListing.txt
@rmdir /s /q c:\dirlist
@pause
The following is a batch file that runs under command.exe or cmd.exe, depending upon whether you are using Windows 9x/Me or Windows NT/2000/XP/2003.
Copy the file contents then save it in your SendTo directory as getDirListing.bat. In Windows NT/2000/XP/2003 the SendTo directory is in <DRIVE>:\Documents and Settings\<YOUR WINDOWS LOGIN>\SendTo.
win7 location: \users\username\AppData\Roaming\Microsoft\WIndows\SendTo