Freitag, 13. April 2012

Export file system folder content in txt file



To get a list of files and subfolders located in a Windows file system folder into a txt file, you can use a batch command like the following:

Folder content:


 

Batch command:






 The result looks like this:



How it works: The result of dir command will be sent by using ">" (bigger then) as an input to the specified txt file.

Keine Kommentare: