Announcement

Collapse

New Sub-Forum

In an effort to help make sure there are appropriate categories for topics of discussion that are happening, there is now a sub-forum for databases and database programming under Special Interest groups. Please direct questions, etc., about this topic to that sub-forum moving forward. Thank you.
See more
See less

file copy code in pb3.5

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

  • file copy code in pb3.5

    in pb3.5, i need to be able to copy files of various sizes
    from one drive (in a 3.11 network) to another system drive

    some are executable up to 430k
    some are chain files up to 60k
    some are data files (arrays and simple sequential) from 2k to 5k

    hopefully in a simple manner like
    copy drive f:\dir\filename.*
    to drive c:\dir\

    any suggestions?

    thanks

  • #2
    Dave,

    Take a look in the EXAMPLE subdirectory under the PB35 directory. In it, there is a file named DOSUNIT.BAS, and this file contains the code to a CopyFile function that should do just what you need.

    (There are other commercial options, including one or two from my company, but you should already have this one on your hard disk, and it's paid for.)

    Alan

    ------------------
    Alan C. Earnshaw
    Information Management Systems, Inc.
    http://www.infoms.com
    Alan C. Earnshaw
    Information Management Systems, Inc.
    http://www.infoms.com

    Comment

    Working...
    X