
August 7th, 2003, 08:16 AM
|
|
Contributing User
|
|
Join Date: Jul 2002
Location: athome
Posts: 50
Time spent in forums: 1 h 51 m 58 sec
Reputation Power: 6
|
|
scripting - logoff script
hi,
i'm trying to build a logoff script that simply deletes the temp-files of the user before copying the roaming profile back to the server.
(Win2000, AD env)
Set oFs = CreateObject("Scripting.FileSystemObject")
oFs.DeleteFile ReadEnv("%TEMP%") & "\*.*"
'readenv(string) receives the required environment-variable
the problem is that the user has no permission this way :-(
Thx for any help.
cu
w2k-user
Last edited by w2k-user : August 7th, 2003 at 08:23 AM.
|