[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FindFile ?
- Subject: Re: FindFile ?
- From: "R.Bauer" <R.Bauer(at)fz-juelich.de>
- Date: Mon, 07 Aug 2000 10:50:25 +0200
- Newsgroups: comp.lang.idl-pvwave
- Organization: Forschungszentrum Juelich GmbH
- References: <3975AE46.B446320C@noveltis.fr>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20701
Geraldine Verriere wrote:
> I'm trying to find a file given only the disk name (A kind of improved
> Thanks for help
you may use our file_search routine.
; Copyright (c) 1999, Theo Brauers, Forschungszentrum Juelich GmbH ICG-3
; All rights reserved. Unauthorized reproduction prohibited.
; This software may be used, copied, or redistributed as long as it is
; sold and this copyright notice is reproduced on each copy made. This
; routine is provided as is without any express or implied warranties
; whatsoever. Email bug reports to email@example.com
; This function searches a file in the current directory or in a list
; This function does return the first file which was found to match
; criterion. Use the wild cards '*' or /LIST keyword to return a full
; CALLING SEQUENCE:
; Name: name of a file or wildcards
; KEYWORD PARAMETERS:
; DIRECTORIES: string (array) containing a list of directories to
; NO_CURRENT: if set the current directory is not searched !
; ENV_VAR: name of a environment variable containing a path
; USE_PATH: if this keyword is set the path of IDL is used for
; SEARCH_TREE: if this keyword is set the search is expanded to all
subdirs of the
; given directories, equivalent to a preceeding '+' in
the directory name
; FILE_COUNT: if set to named variable the number of file hits is
; DIR_COUNT: if set to a named variable the number searched
directories is returned
; DIR_FOUND: if set to a named variable a string array of
searched dirs is returned
; RETURN_MESSAGE: if set to a named variable the message is returned
; Result: string or string array contining the full path of the file