Hi all,
Long time since I asked a question and I hope I get an answer
How do I get all user names on a local computer. Another thing, How do I get their "Documents and Settings" sub folders?
Printable View
Hi all,
Long time since I asked a question and I hope I get an answer
How do I get all user names on a local computer. Another thing, How do I get their "Documents and Settings" sub folders?
In a crude way you could just loop over all the directories in c:\Documents and settings
UseVB Code:
IO.Directory.GetDirectories
I want only users in the "Users" group without the "ASP.NET" or administratorsQuote:
Originally Posted by agmorgan
Once you get the list of users you should be able to use something likeetcVB Code:
Environment.SpecialFolder.ApplicationData()
Thanks for the replyQuote:
Originally Posted by agmorgan
But this only works for the current user, that's not what I want