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

Home » Public Forums » archive » dialog_pickfile
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: Dialog_pickfile [message #22276 is a reply to message #15915] Fri, 03 November 2000 06:15 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Rikagaku wrote:
>
> Hello,
>
> I have a problem with filelist=Dialog_pickfile(/read,/multiple_files)
> If I selected one file located at the root of a hard disk
> (say: "c:\test1.txt") then
>> print, filelist
> c:\test1.txt
>
> BUT if I select more than one file at the root of the disk then
>> print, filelist
> c:\\test1.txt c:\\test2.txt c:\\test3.txt
>
> that is that "\\" ??? It only happens when the file are located at the
> root of a disk (multiple files from a sub-directory is OK).
>
> Of course: openR, lun, filelist[0], /get_lun does not work since
> "c:\\test1.txt" is not a valid filename under Win32
>
> Am I doing something wrong or is it a problem (fixed in IDL 5.4 ?)?
> Cheers
> Thomas Launey
>

Hi Thomas,

this is a bug.

workaround:

files=replace_string(files,'\\','\')

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

For further routines and copyright and licence.
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml



regards
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with MNF in ENVI
Next Topic: Re: IDL Comments

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

Current Time: Wed Oct 22 22:28:16 PDT 2025

Total time taken to generate the page: 0.87987 seconds