About 4,470,000 results
Open links in new tab
  1. How to Create a Text File List of the Contents of a Folder in …

    Jan 2, 2025 · Learn how to quickly generate a text file listing the contents of a folder in Windows 10 using Command Prompt or PowerShell with this step-by-step guide.

  2. How to List Files in a Directory or Folder on the Computer

    Jun 1, 2025 · Explore efficient methods for listing files across platforms such as Windows, Linux, Unix, and macOS, with detailed command line examples in this guide.

  3. Dir Command: Examples, Switches, and Usage Guide - Lifewire

    Sep 1, 2025 · Learn how the Dir command in Command Prompt lists files and subfolders, along with examples, options, and tips for effective use.

  4. dir | Microsoft Learn

    This command lists only the drive letter, directory name, file name, and file name extension (one path per line), for each file name it finds. Before you use a pipe to send this command's output …

  5. How to copy a list of file names to text file? - Super User

    Jul 28, 2014 · Navigate (cd) to the directory whose files you want to list. Enter dir > output_file_name (e.g., dir > C:\dir.txt) and press Enter. Open the newly created text file …

  6. How to List all Files in a Directory using CMD in Windows

    Nov 11, 2025 · When you type dir and press Enter in the Command Prompt, it lists all the files and directories in the current directory. By default, it displays the file name, size, and modification …

  7. DIR - list files and folders - Windows CMD - SS64.com

    The command DIR /b will return just a list of filenames, when displaying subfolders with DIR /b /s the command will return a full pathname. To list the full path without including subfolders, use …

  8. How to Use the DIR Command in Windows

    Nov 30, 2023 · Run “dir” in Command Prompt to list all of the files and folders in the current directory. Dir also take special arguments to sort and select what kinds of files and folders are …

  9. How to Print a Listing of Files in a Directory - Computer Hope

    Jun 1, 2025 · Learn how to print a directory listing in Windows and Linux by sending output to a file and printing the file, ensuring easy access and better formatting.

  10. How to Use the Command 'dir' (with examples) - CommandMasters

    Dec 17, 2024 · When used with the dir command, it suppresses all additional output, displaying only the names of the files and directories. It’s the perfect choice for anyone needing a clean …