Hi there,
I want to move all files and folders when a user logs on.
for an example when they log on I want to copy all files and folders from the users G: driver to their H: drive
I have this script from ms:
Const OverWriteFiles = True
Set objFSO = CreateObject("Scripting.FileSystemObject"
objFSO.CopyFolder "C:\Scripts" , "C:\FSO" , OverWriteFiles
but this wont do from g: to H: I have to specify a folder and that is not enough I need the whole drive, this is for 40 users and their homedrive I need to move so I cannot use UNC path since every user has a different homedrive share on server.
anyone who has a script ?
I very new to script and hoping for a fast solution..
)
thx in advance
I want to move all files and folders when a user logs on.
for an example when they log on I want to copy all files and folders from the users G: driver to their H: drive
I have this script from ms:
Const OverWriteFiles = True
Set objFSO = CreateObject("Scripting.FileSystemObject"
objFSO.CopyFolder "C:\Scripts" , "C:\FSO" , OverWriteFiles
but this wont do from g: to H: I have to specify a folder and that is not enough I need the whole drive, this is for 40 users and their homedrive I need to move so I cannot use UNC path since every user has a different homedrive share on server.
anyone who has a script ?
I very new to script and hoping for a fast solution..
thx in advance