Jump to content

ApplicationData problem


Recommended Posts

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\ folder

In 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


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

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:

Administrator

Me

All Users

Default User

So 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...