Search This Blog

Showing posts with label Command Prompt. Show all posts
Showing posts with label Command Prompt. Show all posts

Monday, February 8, 2016

Useful Batch Files




Batch File Copy  full file names for all files in folder and sub folders to text file.

(replace &gt with )


dir C:\Data\Documents\*.* /b /s /a:-D >  C:\Documents.txt





Batch File: Copy just file name of files in folder to text file:
(replace &gt with )


dir C:\Data\Documents\*.* /o-n-d /b  >  C:\Files.txt