Retrieve CASE SENSITIVE Windows/DOS command 'whoami' Username : I am using WinAutomation and I am trying to point to and open a file on any computer that my software is placed on without having to hard-code the username in the path, so I am looking for a way to retrieve the logged in Username, that will be case sensitive so I can grab that variable. 

Using DOS, (which I can run invisible to the user in the background) if the username in the file tree is "User Name", whoami in DOS will return "user name" and then,

If I point to a file C:\Users\%pcName%\Desktop\Masterlist.xlsx with that %pcName% not correctly capitalized it will not work... 

I saw a question about Pythonic way to retrieve case sensitive path but I can't use Python for this. I am open to creative ways to get the case sensitive User Name but I keep seeing people deciding to enforce lowercase usernames as a solution. 

**Is there a way to find the case-sensitive logged in users name for use in file path references?** *I'm open to being creative at this point!!* 