Accessing Network-Locked File After Power Failure

ID: Q31926


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0
  • Microsoft QuickBASIC for MS-DOS, versions 4.0, 4.0b, 4.5
  • Microsoft BASIC Compiler for MS-DOS and MS OS/2, versions 6.0, 6.0b
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2, version 7.0


SUMMARY

If a file is opened, locked with the LOCK statement, and then the power is cut off, the file can still be accessed after rebooting the machine. However, the portion of the file that was written after the file was last closed will be lost. Microsoft cannot guarantee the data integrity of a file left open when there is a power failure; consequently some of the data may become corrupt.

Additional query words: VBmsdos QuickBas BasicCom

Keywords :
Version : MS-DOS:1.0,4.0,4.0b,4.5; :6.0,6.0b,7.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.