Unfortunately, the suggested code did not return data on my Windows Me PC. On a Windows 2000 PC, Domain and Full Name are displayed, but Comments is not. On a Windows XP PC, everything is displayed.

I added a line to display the @userid to your code. The user name is displayed when I run it from a DOS window, but it is blank if I run it at login time.

I am currently using version 2001 RC3, but I also tried 3.63 with the same results.

[ 16 October 2001: Message edited by: GhislainG ]