Link to home
Start Free TrialLog in
Avatar of mhamer
mhamer

asked on

DSadd profile path

hi I am writting a long dass add comand for a batch file import all is well a part from  the user profile is created as i wrote it in the script ratherthan changing the variable to a username


use to be %username% in NT

what is it in 2003?

I thought it was %sAMAccountName%

but thats not working and cant findanything other than %sAMAccountName% as an option


%username% does work when typed in but not when its part of a script and i did have this working at one point and preety sure it started %sam

ta
ASKER CERTIFIED SOLUTION
Avatar of John Gates, CISSP, CDPSE
John Gates, CISSP, CDPSE
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do you need anything further?

-D-