.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


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
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.
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!!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.