Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Arlington, Texas, USA
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have a program that was written by a person that I no longer have access to, and I have a problem with the code on our website. There are two files: customers.dbf and customeremails.dbf. I need to open customers.dbf in the form customer~#dbf. How do I differentiate between the two files? Thanks,

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Quote Originally Posted by shihalud View Post
    There are two files: customers.dbf and customeremails.dbf. I need to open customers.dbf in the form customer~#dbf. How do I differentiate between the two files?
    You need to use the "DOS compatible" 8.3 format file names? If the partition lets you run the DIR command, I think that would be the best way to extract the information (use the /x command line switch). For example:

    Code:
    dir /x cust*.dbf
    Any luck? Otherwise, I don't know how you would determine the name the OS assigned.

  3. #3
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Arlington, Texas, USA
    Posts
    124
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by shihalud View Post
    I have a program that was written by a person that I no longer have access to, and I have a problem with the code on our website. There are two files: customers.dbf and customeremails.dbf. I need to open customers.dbf in the form customer~#dbf. How do I differentiate between the two files? Thanks,
    Thanks for your help. I was able to figure out the format - since the file I was trying to access was second on the list, I needed to use custom~2#DBF to identify the file, and it worked. Thanks again,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •