Announcement

Collapse
No announcement yet.

1 - I want to buy PBDOS, but 2 - only if I can list files in directories with it 8-)

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

  • Tom Hanlin
    replied
    Mel-- DOS provides extended file functions with LFN support, but only in DOS boxes
    running under Windows. I don't have the details handy, but you can look them up
    here. In the Docs section of the Downloads area, the Ralf Brown interrupt list has
    the details. I believe there are several examples or libraries available for LFN
    support in the PB/DOS section of the Downloads area. And, searching the Source Code
    forum should turn up at least one example for a PB/DOS "CD" (change dir) utility
    that does LFNs.

    Wayne-- enjoy!

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

    Leave a comment:


  • Wayne Diamond
    replied
    License received, thankyou - fifteen minutes isn't too long to wait I guess
    Im cooking with gas now, and having some crazy flashbacks of old turbobasic/turbopascal days ...


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

    Leave a comment:


  • Wayne Diamond
    replied
    The FINDFILE.BAS example that comes with PB/DOS shows
    how to go through all files in all directories.
    Cheers Tom, I'm sold. Hopefully the recursive crap has been done for me. <grin> Now don't leave the office until you get my registration!, Im hammering it in now

    Thanks again,
    Wayne

    PS. Emil, ff.exe is indeed very fast but I don't want to include any 3rd party apps in this, I just want my exe in all its standalone glory


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

    Leave a comment:


  • Emil Menzel
    replied
    If you can get a copy of FF.exe (the file-find utility from earlier versions of Norton Utilities) it will be hard to beat. I SHELL to FF.exe in PBDOS programs to catalog all files on an entire drive & write this info to a text file for subsequent processing. FF.exe is very fast and very small in size. I do not think that it would be hard to emulate in pure PB code, but that's another matter.

    P.S. If any program written in PBCC, PBDLL or VB is any leaner & meaner than the FF.exe-PBDOS combination, I'll be amazed.

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

    Leave a comment:


  • Mel Bishop
    replied
    Tom:
    I wasn't aware that there was a DOS interrupt to get windows LFN.
    Got an example handy?
    Cheers
    Mel


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

    Leave a comment:


  • Tom Hanlin
    replied
    1. All orders need to go through the Sales Dept. and are subject to regular business
    hours (10am-6pm Eastern). Electronic orders are generally processed in a few hours.
    The PB/DOS download size is about 3.4 Mb.

    2. DIR$ works fine. There are also DOS interrupt calls that work very much like the
    Windows FindFirstFile APIs. The FINDFILE.BAS example that comes with PB/DOS shows
    how to go through all files in all directories. You can download the PB/DOS example
    files here: http://www.powerbasic.com/files/pub/pbdos/

    3. The type of partition doesn't make any difference to file scanning. DIR$ only sees
    short filespecs though. If you need support for long filespecs, you'd need to go with
    a particular set of DOS interrupt calls. This is not particularly difficult.

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

    Leave a comment:


  • 1 - I want to buy PBDOS, but 2 - only if I can list files in directories with it 8-)

    1 - I want to buy PBDOS, the new price @ US$99 is appealling. After submitting payment details etc to the credit card server, can I download PBDOS straight away? I only want electronic docs, not printed, and im assuming it would be a relatively tiny download
    2 - Im only buying it for one purpose and that involves being able to enumerate all files in all directories, i searched and searched through the PBDOS forum but couldnt find anything. Its a walk in the park to do it in Windows with FindFirstFile, FindNextFile, etc, but obviously I cant use Windows APIs in DOS, so does anyone have any code to do that? basically an implementation of "dir" (the simpler the better)
    3 - obviously DOS programs cant see files in NTFS partitions, but can they see FAT16/FAT32 ? (its been so long since i used dos)

    Thanks!
    Wayne


    [This message has been edited by Wayne Diamond (edited July 25, 2001).]
Working...
X