User Tools

Site Tools


wiki:windows:batch:file_list

This is an old revision of the document!


File List

This batch will create a text document listing the files in the current directory.

Current 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
wiki/windows/batch/file_list.1461336831.txt.gz · Last modified: 2016/09/13 15:54 (external edit)