Home »
Public Forums »
archive »
Re: How to test for the existance of a director
Re: How to test for the existance of a director [message #2729] |
Mon, 29 August 1994 06:44 |
kump
Messages: 9 Registered: January 1994
|
Junior Member |
|
|
In article fm5@cobra.aer.com, gallery@aer.com (William O. Gallery) writes:
> Does anyone know how to test for the existance of a directory (empty or not)?
>
>
>
> --
> William O. Gallery gallery@aer.com
> Atmospheric & Environmental Research Voice(617) 349-2284
> 840 Memorial Drive (617) 547-6207
> Cambridge, Massachusetts 02139 FAX (617) 661-6479
In UNIX environment (Sun sparc, sunos):
x='/users/kump/idl_data/goodstuff'
;I am testing for directory goodstuff'
as=findfile(x)
if as(0) eq '' then found=0 else found=1
---
Ken Kump
Biomedical Image Processing Laboratory
Department of Biomedical Engineering
Case Western Reserve University
Cleveland, Ohio 44106, USA
E-mail: kump@morph.ebme.cwru.edu
|
|
|
Current Time: Wed Oct 08 19:16:12 PDT 2025
Total time taken to generate the page: 0.00480 seconds