How To Create A List Of Files In Command Prompt / Batch File

IT Support Forum Forums Windows Windows 10 Troubleshooting How To Create A List Of Files In Command Prompt / Batch File

Tagged: ,

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 10 months, 3 weeks ago.

  • Author
    Posts
  • #1586

    Webmaster
    Keymaster

    To create a list of files in the command prompt, use dir /b in the directory you want to list the files. You can save this in notepad as a .bat file to make a batch file. You can output this list of files to a text file by using the command: dir /b > C:\Temp\Myfile.txt

You must be logged in to reply to this topic.