Discussion Locked

Managing data on servers

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I just got moved to a project that has their own infrastructure in place. During the setup phase they had a server open to all where users could temporarily store project related information on there. However in time this has balloned into an uncontrollable beast. Now they want to clean it up and shut it down. My task is to identify the owners of the files and folders and get them to remove their data. How can I generate a list of owners of the files and folders ?? Is there a simple command or utility that could help me ??

3 replies

by joseph moore

Do a DIR list from a command prompt, and use the /Q switch to list the file owner.

For example, if I type in:
d:\work>DIR *.TXT /Q

I get the following:

02/22/2002 12:50p 7,447 BUILTIN\Administrators banner.txt
02/20/2002 12:13a 417,005 BUILTIN\Administrators pingfile.txt
02/20/2002 04:19p 14 MYDOMAIN\JOE\ temp.txt

And just add a >>filename.txt to the end of the DIR line to export the data to a text file for you to review.

hope this helps

by ldsilva

Joseph, thanks for getting back to me. I tried your solution "Dir *.txt /q", but the /Q generates an error message "Invalid switch". I am using NT 4.0. Any recommendations ??

by ldsilva

Joseph, thanks for getting back to me. I tried your solution "Dir *.txt /q", but the /Q generates an error message "Invalid switch". I am using NT 4.0. Any recommendations ??

This discussion is closed to new replies.