The command uses the dir
Such as, directory and file name listed in the current directory to 1.txt:
dir /b >1.txt
List only certain types of files
dir *.txt /b >1.txt
The command uses the dir
Such as, directory and file name listed in the current directory to 1.txt:
dir /b >1.txt
List only certain types of files
dir *.txt /b >1.txt