Can I "read" the Windows username from a batch file?

Charles P. Hobbs transit at primenet.com
Thu Jul 22 18:06:41 EDT 1999



I'd like to be able to make decisions in batch files based on the username
given at login. Is there some system or environment variable that a batch
file can access, giving this information?

Thanks again for your help!

-------------------------------------------------------------------------------
Charles P. Hobbs                          __  __     ____  ___       ___ ____
transit at primenet.com                     /__)/__) / / / / /_  /\  / /_    /
                                        /   / \  / / / / /__ /  \/ /___  /
-------------------------------------------------------------------------------



More information about the Web4lib mailing list