Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2000
    Location
    Hofstade, Belgium
    Posts
    29

    Grin Looking for a directory

    Hi,

    is there a way to check wether a certain directory exists?

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Looking for a directory

    No, there is no way to check for the existance of a directory, only a file. If there is a file that you know will always exist inside of that directory, you could search for that and then parse up that string for the path of the parent directory.

    Hope that helps.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  3. #3
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939

    Re: Looking for a directory

    Setup Factory is able to check for the existence of a directory. Just enter the directory name as "file name":
    Read File Information (%MyDirExist% = Existence of D:\MyDir)
    I have used this syntax for years. It works with Win98/NT/2000/XP.

  4. #4
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Looking for a directory

    Yes, I'm sorry, csd214 you are correct. I must have been thinking about searching for a particular directory, in which case that will not work. However if you know the exact location, csd214's reply will do it. Thanks for setting me straight.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Posting Permissions

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