Is there a script command which can read the PC's user ID? In DOS there is a command Net Config whill will report some
information.
Output sample:
C:\WINDOWS\DESKTOP>net config
Computer name \\WCABBLR0230
User name PBREAU
Workgroup Company
Workstation root directory C:\WINDOWS
Software version 4.00.950
Redirector version 4.00
The command was completed successfully.
I would like to extract the the username. Is there something a script command can do?
information.
Output sample:
C:\WINDOWS\DESKTOP>net config
Computer name \\WCABBLR0230
User name PBREAU
Workgroup Company
Workstation root directory C:\WINDOWS
Software version 4.00.950
Redirector version 4.00
The command was completed successfully.
I would like to extract the the username. Is there something a script command can do?