Finding the directory name
Posted: 08 Nov 2011 17:07
Hey guys,
Can anyone tell me in Windows 7/Vista, how to find the name of the current user and where a certain file is located?
For example:
I need to know what the person's username is so I can find the C:\Users\(Name)
Also, I need to know where the file that is executing (as in my batch file) where it is on the computer.
Thanks in advance guys!
--Matt
Can anyone tell me in Windows 7/Vista, how to find the name of the current user and where a certain file is located?
For example:
I need to know what the person's username is so I can find the C:\Users\(Name)
Also, I need to know where the file that is executing (as in my batch file) where it is on the computer.
Thanks in advance guys!
--Matt