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

Home » Public Forums » archive » FindFile ?
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
FindFile ? [message #20683] Wed, 19 July 2000 00:00 Go to next message
Geraldine Verriere is currently offline  Geraldine Verriere
Messages: 2
Registered: May 2000
Junior Member
Hello
I'm trying to find a file given only the disk name (A kind of improved
findFile).
Thanks for help

Geraldine


--

__________________________________________

G�raldine Verri�re
Noveltis
2, avenue de l'Europe
31520 Ramonville Saint Agne

Tel : 33 (5) 62 88 11 16
Fax : 33 (5) 62 88 11 12

__________________________________________
Re: FindFile ? [message #21121 is a reply to message #20683] Mon, 07 August 2000 00:00 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Geraldine Verriere wrote:
>
> Hello
> I'm trying to find a file given only the disk name (A kind of improved
> findFile).
> Thanks for help
>
> Geraldine
>

Dear Geraldine,

you may use our file_search routine.

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/file_search.tar.gz


; 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
not
; 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 th.brauers@fz-juelich.de
;
;+
; USERLEVEL:
; TOPLEVEL
;
; NAME:
; file_search
;
; PURPOSE:
; This function searches a file in the current directory or in a list
of directories
; This function does return the first file which was found to match
the search
; criterion. Use the wild cards '*' or /LIST keyword to return a full
list.
;
; CATEGORY:
; PROG_TOOLS/FILES
;
; CALLING SEQUENCE:
; Result=FILE_SEARCH(Name)
;
; INPUTS:
; Name: name of a file or wildcards
;
; KEYWORD PARAMETERS:
; DIRECTORIES: string (array) containing a list of directories to
be searched
; 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
; 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
returned
; 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
;
; OUTPUTS:
; Result: string or string array contining the full path of the file

R. Bauer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: TO USE TWO DIFFERENT COLOR TABLES AT THE SAME TIME
Next Topic: Dataminer again:

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

Current Time: Wed Oct 08 18:14:11 PDT 2025

Total time taken to generate the page: 0.00423 seconds