Jump to content

Filename To Notepad


bonsaimax

Recommended Posts


From a command prompt:

DIR [path of dir containing files] > [path of text file you want to create]

e.g.

DIR c:\windows\*.* > c:\listofwindowsfiles.txt

Then open the "c:\listofwindowsfiles.txt" file in notepad.

To get a command prompt, click "Start", then "Run..", then type "cmd" (without the quotes), then click "OK".

Link to comment
Share on other sites

From a command prompt:

DIR [path of dir containing files] > [path of text file you want to create]

You beat me to it. :o Also if you need the list of files including all subdirectories use DIR /S and if you don't want all the other information such as size, etc use DIR /B and if you want in alphabetic order DIR /O:N. You can combine the switches also such as DIR /B/O:N/S for brief listing, alphabetical order and all sub directories.

If the files are under different directories but not sub directories after you make the first list with the > control you can add to this file other lists by using >> instead. This appends the list to the end of the file.

Edited by tywais
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.








×
×
  • Create New...
""