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

Home » Public Forums » archive » Re: Getting File creation data/time
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: Getting File creation data/time [message #14692] Tue, 23 March 1999 00:00 Go to previous message
Armand J. L. Jongen is currently offline  Armand J. L. Jongen
Messages: 9
Registered: April 1997
Junior Member
Phillip & Suzanne David wrote:
>
> Try this:
>
> FileName=Dialog_pickfile(/read)
>
> ; Pipeline the output of the dir command to a file
>
> DOSCommand='dir "'+FileName+'"' ; Add quotes around the file name

Briljant! It does the trick..... only:

> Spawn, DosCommand, Result ; You don't have to send the results to a
> file. They get sent back in 'Result'

doesn't work on a Window$ machine as also mentioned in the help files:

; IDLHELP***************************************************** *******
Result

A named variable in which to place the output from the child process.
Each line of output becomes a single array element. If Result is not
present, the output from the child shell process goes to the standard
output.

Under Windows and the Macintosh OS, Result has no effect.
; IDLHELP***************************************************** *******

But then I can use the temp-file trick.

Thanks,

Armand
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Can't create pixmap
Next Topic: statistics on large arrays

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

Current Time: Wed Oct 08 17:15:42 PDT 2025

Total time taken to generate the page: 0.00454 seconds