Question Locked

Mss

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

hi,
can someone please help. i want to create a comprehensive list of:

1) all folders on the server and

2) all files on the server.

how do i do that?

2 replies

by bizzo

A quick and easy way could be to use the dir command from the command line.

dir /ad /b /s >directories.txt

will list only directories, and put in a file called directories.txt

dir /a-d /s >files.txt

will list only files into the file, files.txt

Use dir /? for more information.

This discussion is closed to new replies.