comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to test for the existance of a directory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How to test for the existance of a directory [message #2730] Mon, 29 August 1994 05:03
braendle is currently offline  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
------------------------------------------------------------ ----
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: BUG? MAP_SET, /STEREO in IDL 3.6.1
Next Topic: Re: How to test for the existance of a director

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:07:37 PDT 2025

Total time taken to generate the page: 0.00400 seconds