LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 17 Apr 2002 23:25:51 -0400
Reply-To:     "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Richard A. DeVenezia" <radevenz@IX.NETCOM.COM>
Organization: MindSpring Enterprises
Subject:      Re: File attribute "Changed" into SAS
Content-Type: text/plain;

"Magnusson Tomas" <tmagnusson@MEDISERVICE.CH> wrote in message news:832CC537C7B2D311A8D40000F8771ADD62CB9B@MEDISERVICE_SRV... > Hi all, > is it possible in SAS to get the Windows file attribute "Changed" from a > flat file? > > Cheers > Tomas Magnusson

If you want the Changed timestamp of a known filename in a windows system, use SASCBTBL and MODULEN to access WinApi functions . CreateFile (to open the file) . GetFileInformationByHandle . CloseHandle

If you want file information of a directory listing, search google for many previous threads. You can also have a look at my macro http://www.devenezia.com/downloads/sas/macros/ FileList which uses FindFileFirst/FindFileNext to obtain the best detailed timestamps of a directory listing

-- Richard A. DeVenezia Need long HTML Titles and Footnotes ? http://www.devenezia.com/downloads/sas/macros/index.html#js


Back to: Top of message | Previous page | Main SAS-L page