In 2.3.2, you can do this:

on mouseUp
  switch the platform
    case "Win32"
      set the hideConsoleWindows to true
      put shell("dir") into tList
      break
    case "someOtherPlatformWord" -- I only have Win32 right now
      put shell("ls -lpa") into tList
      break
  end switch

  parseTheReturnedList -- your code, of course
end mouseUp


Phil


----- Original Message -----
From: "Geoff Canyon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 6:59 AM
Subject: Re: File creation date


> At 1:48 PM -0400 9/12/01, [EMAIL PROTECTED] wrote:
> >Is there a way to read the Creation, Modified, or Last Accessed
date of a
> >file?
>
> Available in 2.4, the detailed files function:
>
>   The function "the detailed files" returns a comma-delimited list
of
>   file attributes including the urlEncoded file name, size, resource
>   size, creation date, modification date, access date, backup date,
>   user and group id, permissions, and creator code and file type.
The
>   term "detailed" is a synonym for "long" and so can also be used
with
>   the date and time functions.
>
> regards,
>
> Geoff
>
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>



Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to