LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to let Excel not to save the tmp files in the same folder?

Right. If the user doesn't have the correct permissions, excel will leave that
funny named file--which is probably a very good thing. I'd rather recover my 3
hours worth of changes from that file than lose them!

wilson lai wrote:

Hi Dave,
Please the last comments!
Some background...

When excel saves the file, it saves it as a temporary file with a funny name (8
characters--no extension) in the same folder.

If the save is successful, xl will delete the original (or rename it to its
backup name (like "backup of book1.xlk)) and if that's successful, xl will
rename the funny named file to the original's name.


What happen if the user does not have rights to "delete" or
"rename" this file? This file seems to be left in the folder.
Thanks.

"Dave Peterson" wrote:

xl2003 doesn't use .tmp files in the same folder. It does create .tmp files in
your windows temp folder. They shouldn't appear in the same folder as the
original file.

Some background...

When excel saves the file, it saves it as a temporary file with a funny name (8
characters--no extension) in the same folder.

If the save is successful, xl will delete the original (or rename it to its
backup name (like "backup of book1.xlk)) and if that's successful, xl will
rename the funny named file to the original's name.

These files don't have any extension (no .tmp) and I've never seen one start
with a ~ or look close to significant names (~WRD0002.tmp).

I'd try disabling the AV software and doing some testing.

You may want to share the name of the AV software you're using. Maybe someone
will recognize the problem.

===================
I searched for wrd and .tmp in google and there is lots of info about MSWord
temp files. You sure the file isn't coming from MSWord.

Description of how Word creates temporary files
http://support.microsoft.com/default...;EN-US;q211632

wilson lai wrote:

Hi Dave,
We are using the Ms Office 2003. The name of the tmp file is
"~WRD0002.tmp" with the same size of the original.
Actually, I removed the "Creator Owner" permission on that
folder. So,
the user could only create and write the files, but could not delete the
files. ?it seems that the users should have "delete" permission once any
files are being saved. So, my question is how excel could skip to save the
tmp files and delete the files in the folder.
On the other hand, I have tested this scenario on a PC without
any AV Software.

Wilson Lai

"Dave Peterson" wrote:

What version of excel are you using?

What is the name of one of these tmp files--include the extension.

Maybe it's not excel creating them--it could be your antivirus software.

wilson lai wrote:

As title, is that possible to set the Excel not to save the tmp files in the
same folder?


--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I save Excel files of the same name in the same folder? Aidan Engineer Excel Discussion (Misc queries) 2 August 31st 06 03:59 PM
Cannot save excel files to a folder on a network Robbie Excel Discussion (Misc queries) 1 June 9th 06 07:26 AM
Save copy of folder with linked files SOS Excel Worksheet Functions 3 March 1st 06 07:16 AM
Need code to save file to new folder, erase from old folder Ron M. Excel Discussion (Misc queries) 1 February 24th 06 06:02 PM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven Excel Discussion (Misc queries) 1 January 24th 06 03:28 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"