im not sure this is exactly what you want but ill send it over to you anyway.
This code does exactly what is says in my previous post, but i had a little more time today and read yours again and i think you want something a little more complex.
This code will do the following.
When a user logs on it copys the favourites folder from the local machine and stores them in a location (in this case the N:\ drive) As the N:\ drive is a users person private space on a network that drive can not be accessed by other users. There for ehte code only searches of rthe computer name for example "TheElise" it then stores the favourites on the users N:\ drive as "Favourites TheElise" . If an onther users logs into that same machine, the script will copy their favourites from the local machine to their N:\ drive which is not accessable to any other user to they to will have a folder called "Favourites TheElise" on there N:\ drive.
So here you hit a lsight problem. If you are storing the folders in the same central directory then the script will look at the computer name....for example "TheElise" and look for a folder called "Favourites TheElise" and delete it then re-write it with the ewer version. This is not good if stored on a cetral location because if you logged on with 10.000 favourites on the pc "TheElise" then it would store them for you... if i was to logonto the same pc 10 minutes later it would delete your favourites and replace them with mine. You would ideally need each individual user to have there own private space to store the favourites so they dont get overwitten by the next person.
Or you could ammend thescript slightly and have it insert the user name of the user as well as the computer name so it says
"Favourites John TheElise"
"Favourites Mark TheElise"
That way you know what pc they have been on and you have a copy of there favourites. However by doing this you run the risk of storing millions of folders that are empty if they log into more than one pc you will get multiple entires. such as...
"Favourites John TheElise"
Favourites John BedComp"
"Favourites John LivingComp"
Favourites John KitchenComp"
"Favourites Mark TheElise"
Favourites Mark BedComp"
etc
etc
etc
etc
You see the potential problem here is run on a netowrk as large as ours. Hence the reasson we keep it to compname only on a centrally located private drive.
If you want me to re-write this with the username lookup added ill happily do so, or if the users N:\ drive is private and youll be storing them there then you will have no problem. If you want to create a fodler on the X:\ drive and store everyones favourites there you must ensure that first of all everyone who logs onto the pc has the X:\ drive mapped by default and you will require the users names to be entered other wise the script will keep deleteing previous versions. (this is not an error its designed that way). Also as the script is being run with that users privelages you must ensure they have full read/write access to the drive you are copying the favoutires to. For example the drive would probably be visible in the my computer folder which may lead some users to look in there. Unless you somehow disable it from showing but still have it mapped? then that way they woudnt be able to see the drive or even know it was there but the script would disregard that and look for the X:\ drive and find it as it knows it is there.
Sorry for my spelling i wrote this in about 5 seconds...
let me know what you want me to do?