Posted by Jonathan Sacks on July 09, 2007 at 11:39:59:
In Reply to: Windows User info posted by Grant Foraker on July 06, 2007 at 09:53:13:
It's clunky but the following will return the username:
Create a batch file containing the following:
echo %username% >username.txt
Do a shellexecute of the batch file, open the text file and read the data, that is the windows login name.