I have a .cmd script I want to map a network drive based on the username of the person running it. So something like this
net use K: \\nas001\users\[My_User_Name]
Except replace [My_User_name] with the name of the user running the script. Is this possible?
Thanks