Home »
Public Forums »
archive »
Re: How to test for the existance of a directory
Re: How to test for the existance of a directory [message #2730] |
Mon, 29 August 1994 05:03 |
braendle
Messages: 5 Registered: May 1994
|
Junior Member |
|
|
William O. Gallery (gallery@aer.com) wrote:
: Does anyone know how to test for the existance of a directory (empty or not)?
You may want to use the findfile command with the full qualified path and
the nul file appended to. E.g:
print, findfile("C:\temp\nul")
If the directory exists (empty or not) the file nul exists as well and
will be returned by findfile. I am using this with Windows IDL, not sure wether
it works with other operating systems
Hope this helps,
Gerhard
------------------------------------------------------------ ----
Gerhard Braendle
Max-Planck-Institut fuer Psychiatrie
Am Klopferspitz 18 a
82152 Planegg-Martinsried
Phone ++49-89-8578-3730
Email braendle@vms.biochem.mpg.de
------------------------------------------------------------ ----
|
|
|
Current Time: Wed Oct 08 18:07:37 PDT 2025
Total time taken to generate the page: 0.00400 seconds