This batch will create a text document listing the files in the working directory.
Working Directory is the directory in which it resides, or a directory that has been dragged and dropped onto the BAT file.
@echo off title File List :start cls cd /d "%1" dir /b/s > file_list.txt exit