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 
Switch to threaded view of this topic Create a new topic Submit Reply
Dialog_pickfile [message #22287] Thu, 02 November 2000 20:20 Go to next message
Thomas Launey is currently offline  Thomas Launey
Messages: 25
Registered: September 1999
Junior Member
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
Re: Dialog_pickfile [message #22407 is a reply to message #22287] Thu, 09 November 2000 00:00 Go to previous message
Jean Luc MAILLART is currently offline  Jean Luc MAILLART
Messages: 3
Registered: October 2000
Junior Member
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:
MPG.146ccbdfbc245834989683@news.riken.go.jp...
> 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
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Strange text widget behaviour
Next Topic: IDLWAVE fontlock / fontify weirdness in Xemacs

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

Current Time: Wed Oct 08 13:49:06 PDT 2025

Total time taken to generate the page: 0.00866 seconds