Announcement

Collapse
No announcement yet.

Find & read oddly named files?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tom Hanlin
    replied
    There are LFN libraries in the Downloads section. They don't work in
    all cases, though-- check 'em on your expected target machines. (The
    routines are sound enough, it's just the check for "is LFN available?"
    that's shaky). Contact the authors...

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Mel Bishop
    replied
    http://www.powerbasic.com/support/pb...ad.php?t=23451


    ------------------

    Leave a comment:


  • Robert E. Carneal
    replied
    Originally posted by Matthew Berg:
    PB/DOS (and DOS) do not natively support LFNs. There are, however, interrupt functions available to DOS to handle LFNs when your program is running in a DOS box under Windows.
    Understood. Can/do you recommend a source to read about
    interrupt functions and LFNs please?

    Thank you.

    Robert

    ------------------

    Leave a comment:


  • Matthew Berg
    replied
    PB/DOS (and DOS) do not natively support LFNs. There are, however, interrupt functions available to DOS to handle LFNs when your program is running in a DOS box under Windows.

    ------------------
    If you try to make something idiot-proof, someone will invent a better idiot.

    Leave a comment:


  • Robert E. Carneal
    started a topic Find & read oddly named files?

    Find & read oddly named files?

    Can Powerbasic for DOS make use of double periods in filenames?

    I.e., Can I open for output, open for input, etc., names like
    this:

    ANDERSON.IND.DAT
    ANDERSON.CEM.DAT
    ANDERSON.MED.DAT
    ANDERSON.COD.DAT <IMG SRC="http://www.powerbasic.com/support/forums/confused.gif" ALT="confused">

    Problem: Keeping applications from seeing an extension that
    application recognizes, and attempting to open it.

    Goal: Having other applications leave the data for my cemetery
    program alone so the data does not get corrupted.

    Would just changing the attributes before opening it solve the
    problem, I wonder? How have some of you solved this?

    Thank you.

    Robert

    ------------------
Working...
X