Subject: | |
From: | |
Reply To: | |
Date: | Wed, 2 Jun 1999 15:36:13 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I have a command file that I modified that will display the file names
for those files with an access date less than. You can modify to write
to a file.
We are running on MPE 5.5 w/ PP6.
:LISTF ,6 > FSLIST
:FSFILE <FSLIST
-----------------------------------------------------------------------------
PUB WWA:PRINT FSFILE
COMMENT--- THIS PROGRAM READS A FILE LIST (FSLIST) AND
comment--- ECHOS FILE NAME IF DATE OF LAST ACCESS < date
COMMENT--- WRITTEN 06/02/99 by RICK CLARK
COMMENT--- first list files: LISTF,6 > FSLIST
COMMENT--- then run redirecting FLIST: FSFILE <FSLIST
SETVAR PRINTIT_EOF FINFO("FSLIST",19)
SETVAR PRINTIT_CURR_REC_NO 0
WHILE PRINTIT_CURR_REC_NO < PRINTIT_EOF DO
INPUT PRINTIT_FILE_NAME
CONTINUE
if finfo("!printit_file_name",-42)<19980101 *** change the date!!!
echo !printit_file_name
endif
ENDWHILE
EOD
Arthur Frank wrote:
>
> Hello,
>
> Is there any way to use LISTFILE to display files within a specified date range? Is this functionality available with MPE i/X 6.0? (We're currently on 5.5 pp6).
>
> Does anyone have a command file or UDC that does this sort of thing? No MPEX suggestions, please -- just plain, vanilla MPE.
>
> TIA,
>
> Art Frank
> Manager of Information Systems
> OHS Foundation
> [log in to unmask]
> (503) 220-8320
|
|
|