Bach

Status
Not open for further replies.

Yek

T.F's Resident Cool Guy...
Messages
1,613
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?
 
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.
 
Status
Not open for further replies.
Back
Top Bottom