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: ,

Viewing 0 reply threads
  • 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

Viewing 0 reply threads
  • You must be logged in to reply to this topic.