Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 07 OCT 2002 09:52:53AM Oystein Reigem wrote:

Sometimes clients move tables between systems on writable CD-ROM. Sometimes they restore tables from backup on same. Etc. But often files transferred via CD-R end up on the user's target disk as read-only files. Not everybody are sufficiently aware they have to reset the read-only attribute. And read-only files can cause all sorts of problems, and the cause isn't always obvious from the symptoms.

Am I the only one who's felt the problem?

It seems the file handling of OI and Basic+ does not understand read-only files. Am I right? It would be very nice indeed if the file handling could be improved to recognize read-only files.

- Oystein -


At 07 OCT 2002 10:31AM Don Miller - C3 Inc. wrote:

I've experienced this too .. all the way back to AREV days (pre 3.12, even). The problem is in the fact that the standard OPEN logic in DOS / Windows doesn't care about read-only. It only becomes an issue when you try to write (typically REVMEDIA or REVLOCKS) if these are read-only. A while ago, I wrote a little .BAT file that allowed for copy and ATTRIB -R command. I included this with early upgrade strategy. In OI, I use an Install program that removes the Read Only attribute during installation.

I'm not sure there's any thing slick that OI can do about it, but maybe someone smarter than I can suggest something.

Don M.


At 07 OCT 2002 10:37AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

If you're using the All Networks Driver you could use the Readonly=True flag in REVPARAM.

The Sprezzatura Group

World Leaders in all things RevSoft


At 07 OCT 2002 04:41PM Mark Glicksman wrote:

I like to use the command line version of PKZip to automatically create a zip backup that can be put on a CD. You can write a simple batch file to automatically create the zip and then launch the CD creator. Since the zip file maintains the original read-write atttributes - no problems.

glicks@compuserve.com

BG-Map Botanical Garden Mapping System [img]http://www.bg-map.com/bgmap.gif[/img]


At 07 OCT 2002 06:35PM Oystein Reigem wrote:

Thanks for all the replies. Not all of them apply to the case I asked about (the client by accident makes the app's data volume read-only) but the advice may still come in handy.

Don - your description of open and write made me think clearer. I went back and did some experiments. I found that some of my earlier conclusions may have been wrong. I've got to look further into the matter.

- Oystein -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/f41e89dbf6ad4dc885256c4b004c40b9.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1