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

.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
Asked:
greensuman
  • 2
1 Solution
 
Arno KosterCommented:
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
 
Arno KosterCommented:
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
 
Hendrik WieseInformation 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 

Open in new window


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

Open in new window


Hope this helps!!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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