mxgong
asked on
VBScript to redirect folder
Hi All Experts
There are 60 users in our company including desktop & laptop.
Each user saves all work data in c:\workdata, and we are doing daily backup for c:\workdata of each users via robocopy.
Now, I want use network share to redirect c:\workdata.
Ex: user: abc,
after abc login to his machine, one vbscript will be run to redirect his c:\abc to \\server\share\abc\workdat a. (the vbscript will be set in logon of GPO)
****When use modify any data in his c:\workdata, the modification also will be saved in \\server\share\abc\workdat a.
****and only owner of folder "workdata" can access own "workdata"
Any one can tell me how to write this vbscript? thanks
There are 60 users in our company including desktop & laptop.
Each user saves all work data in c:\workdata, and we are doing daily backup for c:\workdata of each users via robocopy.
Now, I want use network share to redirect c:\workdata.
Ex: user: abc,
after abc login to his machine, one vbscript will be run to redirect his c:\abc to \\server\share\abc\workdat
****When use modify any data in his c:\workdata, the modification also will be saved in \\server\share\abc\workdat
****and only owner of folder "workdata" can access own "workdata"
Any one can tell me how to write this vbscript? thanks
ASKER
All users' data are required to save in c:\workdata, so I need to do redirect c:\workdata
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Redirecting in the way you are asking is going to be both complex and difficult to manage - there isn't any built in way that I am aware of to redirect random folders, whereas My Documents and other user folders have this facility built-in to the OS.