Word Automation file question

  • Thread starter Thread starter Devhead
  • Start date Start date
D

Devhead

when i produce word document from within my .NET Client. i noticed in the
"save" directory that there are ~ files that are opened along with the
filename that i specified for the document. for example, my filename was:
P1112 Cisco EMS 301 FTP Patch.doc and the two ~ files that were opened with
it were:

~$112 Cisco EMS 301 FTP Patch.doc
~WRL3217.tmp

the ~WRL3217.tmp is same size as P1112 Cisco EMS 301 FTP Patch.doc and the
~$112 Cisco EMS 301 FTP Patch.doc file 1kb. What are these files, are they
necessary and, if not, how do i keep them from opening? thanks.
 
This question does not relate to CSharp even not to .NET, better post such
questions to an Office NG.
Word documents are created by Winword.Exe, the ~$ is a lock file, and the
~WRLxxx file is a recovery file.
Both are required and you can't prevent word to create these files, why
would you?

Willy.
 
Back
Top