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

Home » Public Forums » archive » Re: filesearch doesn't find the same files as findfile on a networked drive (unencrypted)
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: filesearch doesn't find the same files as findfile on a networked drive (unencrypted) [message #36654] Thu, 09 October 2003 12:43
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Hi William,

I'm guessing that you're using a version of IDL before 6.0. In my tests,
it fails as you show in 5.6, but is just fine in 6.0, as reported in
IDL60/help/relnotes.txt:

27956 - FILE_SEARCH Function Now Works for UNC Conventions
----------------------------------------------------------
UNC conventions can now be used with the FILE_SEARCH function.

Hope this helps!

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392

"William Gallery" <wgallery@bos.fti-net.com> wrote in message
news:cDdhb.21961$B51.20874@nntp-post.primus.ca...
> (The original post was encrypted--sorry about that)
> I am trying to access files on a networked drive in Windows NT. The
> networked drive is:
> \\Cygnus\Raytheon_shared
>
> Find file and file_search give different results:
>
> IDL> print, findfile('\\Cygnus\Raytheon_shared\Updated Test Files\*'),
> format='(a)'
> \\Cygnus\Raytheon_shared\Updated Test Files\.\
> \\Cygnus\Raytheon_shared\Updated Test Files\..\
> \\Cygnus\Raytheon_shared\Updated Test Files\Test_Data\
> \\Cygnus\Raytheon_shared\Updated Test Files\Test_Data_Migration_Tool\
> \\Cygnus\Raytheon_shared\Updated Test Files\Test_FITS\
> \\Cygnus\Raytheon_shared\Updated Test Files\Test_results\
>
> IDL>
>
> IDL> print, file_search('\\Cygnus\Raytheon_shared\Updated Test
Files\*'),
> format='(a)'
>
> IDL>
>
> I.e, file_search finds no files at all. If I map the networked drive
> to a drive letter, e.g. G:, both routines give the same result.
>
> What am I missing about file_search?
>
>
>
[Message index]
 
Read Message
Previous Topic: javascript variable in ionscript
Next Topic: Object graphics line thickness

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

Current Time: Wed Oct 15 13:37:19 PDT 2025

Total time taken to generate the page: 2.15883 seconds