FishNose opened this issue on Oct 31, 2005 ยท 12 posts
mrsparky posted Mon, 31 October 2005 at 2:02 PM
The batch file below creates 2 listing of all the exe and zip files in one directory (folder). Fire up notepad and copy the text below. save it as list.bat into the folder you want to list (it will list subfolders if memorys serves). Then run it. After it's done look in the root of drive C:, you'll find two files. ========================start================ cls @echo off ECHO ECHO PRESS A TO START. B TO EXIT CHOICE /c:AB SELECT A KEY: IF NOT ERRORLEVEL 1 GOTO DONE IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 GOTO :A IF ERRORLEVEL 2 GOTO :B :A dir *.exe /b /s /o:n >c:exes.txt dir *.zip /b /s /o:n >c:zips.txt GOTO DONE :B GOTO DONE :done ====================stop==================