Computing.Net > Forums > Disk Operating System > Get dir files names into a file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Get dir files names into a file

Reply to Message Icon

Name: Vlad Zehtser
Date: February 3, 2003 at 11:57:30 Pacific
OS: NT
CPU/Ram: P4
Comment:

I’m trying to get a current directory list and put a list of all file names in this directory into FNAME.TXT file.
Each record in this file should include 1 file name.
Any help would be appreciated.




Sponsored Link
Ads by Google

Response Number 1
Name: circuitfire
Date: February 3, 2003 at 14:16:15 Pacific
Reply:

You can redirect the output of the dir command to a text file. Something like

dir /on /b > filename.txt

I don't know if that's what you're looking for.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Get dir files names into a file

Paste File In Multiple Subdirectory www.computing.net/answers/dos/paste-file-in-multiple-subdirectory/16846.html

DOS copying files / drive to drive. www.computing.net/answers/dos/dos-copying-files-drive-to-drive/15628.html

Copy whole dir and subdirs www.computing.net/answers/dos/copy-whole-dir-and-subdirs/16415.html