Identify User Profiles on multi-profile machines

  • Thread starter Thread starter Rafael
  • Start date Start date
R

Rafael

All,

What's the most reliable way to identify the list of user profiles on a
Windows 2000 Pro workstation? For example, I want to get a list of
domain\%userprofile% or computer\%userprofile% and then pipe it out to a
log file but looking for NTUser.dat does not seem to be such a good idea.

Thanks,

Rafael
 
Rafael said:
All,

What's the most reliable way to identify the list of user profiles on a
Windows 2000 Pro workstation? For example, I want to get a list of
domain\%userprofile% or computer\%userprofile% and then pipe it out to a
log file but looking for NTUser.dat does not seem to be such a good idea.

Thanks,

Rafael

How about this:

dir /b "%UserProfile%\.."
 
Thanks for the feedback.

Bye the way, there is no DOS under Windows. DOS
is an operating system, as is Windows or Linux. What
you probably mean is the Command Prompt.
 
Back
Top