Results 1 to 3 of 3

Thread: Need help in files

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    5

    Question Need help in files

    Hi I have a file named e.g abc.exe that's is all I knoe and it resides in my c:\ directory but I don't know which folder is it in.
    Is there a way to run this program without the help of the user to key in the path? Thanks for your replies

  2. #2
    Lively Member
    Join Date
    Apr 2001
    Location
    Scotland
    Posts
    64

    Odd

    Odd you should say that. Well, if you always put the abc.txt file in the directory the app. is running from, you can access it using the old DOS character for the current directory
    "./abc.txt"
    Should work. It works for me.
    . = Current Dir.
    .. = Parent Dir of Current Dir.
    AMD Athlon 1.0 GHz
    128MB RAM
    GeForce 2 MX
    30 GB HD

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    'if it is an exe file.
    Private Sub Form_Load()
    Dim RetVal
    RetVal = Shell("prjtips.exe", 1)
    End Sub
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

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



Click Here to Expand Forum to Full Width