Discussion Locked

run command

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hello friends ,
can anyone plz let me know the command for copying all fine names/foldeer names from a particular disc/folder in a text/doc file ,

what I want to say is that possible to copy all file names from a particular folder into a text file so that everytime I should not go through all files and folders to search any file ,

hope u will help me in that and if there's any short prog which help me in database management than also add that link ,

thanks !

3 replies

by nz_justice

use the dir command, and after you have typed in your search critera for files append this to the end " > filelist.txt"

So your command for searching and writing all files to a text file would look like this:

c:\>dir *.* D:\LOFF > filelist.txt

the output would be the directory listing of "D:\LOFF to the text file "filelist.txt"

by kiltie

I use X-Setup Pro, the ultimate tweaking tool, and enable the "Print Content" options to the context menu of folders.

Of course, if you want a file of this, just set up a new printer as "Print to File"

It's free, Google the name to find it.

This discussion is closed to new replies.