• Status: Solved
• Priority: Medium
• Security: Public
• Views: 1023

# .tmp files generated by excel 2010 not getting deleted in shared folder

.tmp files generated by excel 2010 not getting deleted in shared folder

The  permission has been given in the  following manner
1.owner of the excel file in the shared  folder can delete  the excel sheet but othere can read and write   no permiision to delete .

2.i want to delete the .tmp files which is created in the shared folder also want to be deleted

how can we do do this any idea

Thanks
suman

0
greensuman
• 2
1 Solution

Commented:
Other forums seem to indicate that disabling microsoft security essentials stop the tmp files from being made.
Could you check if this indeed is the case ?
Otherwise, you could investigate if an add-in causes the tmp files to be made by disabling all add-ins.
0

Commented:
i expect that the tmp files will be owned by the persons which were saving the excel file. You could either have an administrator delete the files or try to take ownership of the documents and delete them yourself.
0

Information Security ManagerCommented:
With the permissions you have set this can only be achieved doing the following:

You could do this from the backend using VBScript or Batch File, and maybe setup a scheduled task on your server to execute the script every hour or so:

VBScript Example: DeleteTMPfiles.vbs
Dim fso

Set fso = CreateObject("Scripting.FileSystemObject")

fso.DeleteFile "D:\path\to\folder\*.tmp", True


Batch File Example: DeleteTMPfiles.bat
del /s D:\topleveldir\*.tmp


Hope this helps!!
0

## Featured Post

• 2
Tackle projects and never again get stuck behind a technical roadblock.