I am looking for a difinitive list of sytem variables like
%sytemroot%, %username% and others. These can be used in active directory or in a login script or on a command line.
One thing that I would like to do is place some files on a persons desktop by using a login script.
Copy location\filename c:\documents and settings\%username%\desktop /y
my question with this is that the machines were setup with local accounts before they were put on a domain so if a machine had a local acount on it and then was put on the domain under documents and settings you would have two folders if you used the same name the local acccount would have a folder with "username". The domain account would be a folder with "username.domainname". since policy allows for some to have roaming profiles they could go to a machine that they had not had a local account on therefore in that situation their folder structure under documents and settings would be just username without domain name. My question is how does this affect anything that I want to do using the differnt system varriables and the copy example above.
Michael
%sytemroot%, %username% and others. These can be used in active directory or in a login script or on a command line.
One thing that I would like to do is place some files on a persons desktop by using a login script.
Copy location\filename c:\documents and settings\%username%\desktop /y
my question with this is that the machines were setup with local accounts before they were put on a domain so if a machine had a local acount on it and then was put on the domain under documents and settings you would have two folders if you used the same name the local acccount would have a folder with "username". The domain account would be a folder with "username.domainname". since policy allows for some to have roaming profiles they could go to a machine that they had not had a local account on therefore in that situation their folder structure under documents and settings would be just username without domain name. My question is how does this affect anything that I want to do using the differnt system varriables and the copy example above.
Michael