Start Free Trial
Word 2010 Recommend Read Only Batch file
Does anybody have any suggestions on how to write a batch file which will scan all the files on a drive and convert them so that when they are opened up Word suggests that it's opened read-only (this option is under Save As->Tools->General Options
8/22/2022 - Mon
All you probably need to do is execute the atrrib.exe file for all documents and set the read-only attribute.
Like this: attrib.exe *.doc +r
You might also wanto to set read only security on the folder they use.
I don't know about a batch file, but it would be possible with a Word macro or, slightly more difficult, with a VBScript.
Unfortunately i don't want to set the read only attribute on the file. I would like to set the flag which means Word suggests opening it ready only. I think a Word macro might be the only way but could be very fiddly
Your help has saved me hundreds of hours of internet surfing.
How about going into the NTFS permisions and set all users to read only for those files?
I still want the users to be able to get write access should they need it but i just want the prompt window to come up when the file is opened to recommend read only (which is an option within Word)
ASKER CERTIFIED SOLUTION
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Plans and Pricing
Certified Expert Program
© 1996-2023 Experts Exchange, LLC. All rights reserved. Covered by US Patent