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