locked
command to get names of files in a directory into a file RRS feed

  • Question

  • I want get all the names of files in a directory into a new file.Is there any such command? Please help me out
    Wednesday, July 24, 2013 7:53 AM

All replies

  • Is dir /B > new_file.txt what your looking for?  Check out dir /? and dir /B plus further options to get also hidden and system files.
    Wednesday, July 24, 2013 5:14 PM