Ctwizzy Posted April 13, 2005 Share Posted April 13, 2005 Ok so I cant find an answer to this easily.A lot of applications hold certain info in the C:\Documents and Settings\USERNAME\Application Data\ folderIn particular for me:SSHSecure Shell & Thunderbird.Now I need some files to be put into the dirs on the machine, but the problem is unless I keep the same username I cant do this. Is there a way of picking the user?like C:\Documents and Settings\%USERNAME%\Application Data\ or could I perhaps put these folders in the ALL users??Currently Im just putting these in manually after install.Thanks! Link to comment Share on other sites More sharing options...
durex Posted April 14, 2005 Share Posted April 14, 2005 sure can... use %USERPROFILE% for username specific, this will point to 'C:\Documents and Settings\<username>'%ALLUSERSPROFILE% will give you 'C:\Documents and Settings\All Users'..So... COPY /Y whateverfile.ext "%USERPROFILE%\Application Data\folder" Link to comment Share on other sites More sharing options...
Ctwizzy Posted April 14, 2005 Author Share Posted April 14, 2005 Ok so does that pick the first user profile then?This wont happen but if I had say 6 users which would it pick?As of right now I have this:AdministratorMeAll UsersDefault UserSo your saying if I used %USERPROFILE%\Application Data it would go in the Me\Application Data???I dont understand what all the fuss is about thunderbird settings then? A lot of people said the info could not be sent as youd need to keep the same user name, but this would be fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now