Subject: | |
From: | |
Reply To: | |
Date: | Wed, 16 Jun 1999 10:47:56 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Arthur Frank writes:
> 1. Is there a way I could use FINFO to determine whether or not a file that
> exists (returns TRUE from FINFO("filename",0)) is a temp file or permanent
> file?
You could examine the low-order two bits of FINFO("filename","intfopt") to
see whether it's temp or perm. But note that "fmtfopt" doesn't tell you if
the file is temp! This seems like a bug to me....
Or you could use 'exists' against a file equate, i.e.:
file filename,old
finfo("*filename","exists")
or
file filename,oldtemp
finfo("*filename","exists")
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)
|
|
|