I have a file called file.bat on my computer. When the user clicks on it, i want it to capture the user's login name (NT) and store in a variable (i.e., $username would replace with the real username of that user). What variable/code do i put into the this bat file? Someone told me this can be done. I'm clueless about DOS, so please help me out.