![]() |
#1
|
|||
|
|||
![]()
So I have a script that is used to open word documents as read only and when the script runs, Word is creating/editing files in two specific folders as identified by resmon.
These folders are: Code:
....\AppData\Local\Microsoft\Windows\INetCache\Content.Word ....\AppData\Local\Microsoft\Office\16.0\UsageMetricsStore\FileActivityStore\Word Just wondering if there is a setting that I can use to prevent this. Thanks |
#2
|
||||
|
||||
![]()
Cross-posted at: Word VBA script for reading only causes writes to SSD | MS Answers
For cross-posting etiquette, please read: A message to forum cross posters - Excelguru
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
![]()
This is the first time I've ever seen this type of question so I've never considered it before. I'm also not sophisticated enough to run monitors on exe activities so you are way more advanced than me and I'll just ask a couple of questions that might lead you to a solution.
Do the temp files also get created if you open in READ mode but close without saving? I expect it just changes 'where' the temp file is created since you would get a ~temp file in the same directory as the document. Can you change the script to read the xml contents of the docx zip file without using Word to open the file first?
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#4
|
|||
|
|||
![]()
I am opening the file as read only (never write) but the temp files are always created.
It might be possible to read the file with filestream but I am also using some of the Word APIs so that would not work for me. I have been able to minimize the amount of writes with the above procedures so I think I am good for now but MS should really be cognizant of how much disk activity their software generates. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
PeterPlys | Word VBA | 13 | 01-14-2015 06:41 AM |
![]() |
ItzVickey | PowerPoint | 2 | 08-08-2012 09:23 AM |
![]() |
Chippychap | Word | 8 | 07-20-2012 12:49 AM |
![]() |
Shuggie | Word | 4 | 06-24-2012 03:10 AM |
Need help reading MS Word 2007 docx in MS Word 2003 | gngracie | Word | 0 | 09-20-2010 01:16 PM |