Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: DOS/Command Line file reading capabilities.  (Read 2150 times)

0 Members and 1 Guest are viewing this topic.

redeye

    Topic Starter


    Rookie

    DOS/Command Line file reading capabilities.
    « on: December 13, 2007, 10:03:15 AM »
    Hello all,

    I have been tasked with finding out who has a file locked. Sounds relatively simple, but there are many interesting variables involved.

    So far, we are using a dBASE 5 for DOS program that is definitely legacy. There are functions within dBASE that need to lock a file exclusive. Which means that only the user within the dBASE environment that has the file locked can use it.

    What I was wondering, is if DOS (or now the command line) is able to read that file that is locked by dBASE. The locked file has information on which workstation locked the file and that is what I am trying to access.

    Thanks,
    Matt

    gpl



      Apprentice
    • Thanked: 27
      Re: DOS/Command Line file reading capabilities.
      « Reply #1 on: December 13, 2007, 10:33:00 AM »
      You might find this useful (although it refers to DB4, it may well be compatible)
      http://www.clicketyclick.dk/databases/xbase/format/rec_lock.html
      Graham