[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog_pickfile

With IDL 5.2 and windows 98, it's OK :

DL Version 5.2 (Win32 x86). Research Systems, Inc.

For basic information, enter "IDLInfo" at the IDL> prompt.

IDL> filelist=Dialog_pickfile(/read,/multiple_files)
IDL> print, filelist
C:\JeanLuc\Drone carte DSP.vsd

"Rikagaku" <t_launey@brain.riken.go.jp> a écrit dans le message news:
> 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