I would try using VBScript to clean the contents from C:\Temp on user logout.
Try the following...
On Error Resume Next
Set WshShell = CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("c:\temp:")
'Delete Files
Set colFiles = objFolder.Files
For Each objFile in colFiles
objFSO.DeleteFile(objFile.Path)
Next
'Delete Folders
For Each objSubFolder In objFolder.SubFolders
objSubFolder.Delete(true)
Next


LinkBack URL
About LinkBacks
Reply With Quote