Y Yek T.F's Resident Cool Guy... Messages 1,613 Dec 26, 2006 #1 Is it possiable to detect a username via batch as i want to make a file that deletes a folder but is located in a username folder? , is this possiable or should i give up now?
Is it possiable to detect a username via batch as i want to make a file that deletes a folder but is located in a username folder? , is this possiable or should i give up now?
B bla!! Daemon Poster Messages 1,118 Location /usr/root/mn/us Dec 26, 2006 #2 Yup, there are several environmental variables that will do this %username% = username %userprofile = c:\documents and settings\%username%\ type set and press enter and you'll see all of the environmental variables available to you.
Yup, there are several environmental variables that will do this %username% = username %userprofile = c:\documents and settings\%username%\ type set and press enter and you'll see all of the environmental variables available to you.