Windows – How to get file names as Text

If you want to get all the file names in a given folder and output it to text file enter the command line prompt and browse to the directory, then type:
dir /B *.* > dir_file.txt

You can then open the file dir_file.txt in a text editor to view the files.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s