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

Home » Public Forums » archive » Re: Path/Directory String
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Path/Directory String [message #55051 is a reply to message #55050] Tue, 31 July 2007 05:28 Go to previous messageGo to previous message
payon is currently offline  payon
Messages: 11
Registered: July 2007
Junior Member
>
> Set the DIRECTORY keyword to DIALOG_PICKFILE and you can only
> select directories.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")


Ah all right thanks a lot, it works!
And now i have the next small problem.

Now i tried to read out all filenames which are included in the
selected path
with files=file_search(dialog_pickfile(/dir),'*.tif')
I wanted to compare them with a defined string array, to know which
files are missing, and so which computations cannot be proceed.
the problem is, that in my defined array, i just have the filenames.
Because the path is variable. But the result of
files=file_search(dialog_pickfile(/dir),'*.tif') gives me the filename
with the whole path. Is there any possibility to get just the
filenames in a path, without any path link?

thanks a lot again!

martin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ROI Scaling
Next Topic: Re: control widgets

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

Current Time: Fri Oct 10 07:44:13 PDT 2025

Total time taken to generate the page: 2.64133 seconds