User Tools

Site Tools


wiki:windows:batch:file_list

File List

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
wiki/windows/batch/file_list.txt · Last modified: 2016/09/13 15:54 by 127.0.0.1