dir/file to txt?

Status
Not open for further replies.

f15h

In Runtime
Messages
105
I have two partitions on an IDE drive that need to be deleted.
Before I delete them I want a record of all files and folders on the disk. I've been told that from Windows there is a way to make a text file of all files and folders, but I am unfamiliar with this method. How can I do this?

thanks in advance,

fish
 
cd \

dir *.* /s > file.txt

this will make your present working dir the root of the drive. then list all files on that drive in a file named file.txt.
 
Status
Not open for further replies.
Back
Top Bottom