Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!husc6!cs.utexas.edu!ut-sally!ut-emx!xxan646
From: xxan646@ut-emx.UUCP (Jeannette M. Garcia)
Newsgroups: comp.os.vms
Subject: How can I check that a .DIR file is actually a directory?
Keywords: file, directory
Message-ID: <3689@ut-emx.UUCP>
Date: 29 Jun 88 16:33:37 GMT
Organization: The University of Texas at Austin, Austin, Texas
Lines: 12

In my FORTRAN program I use LIB$FIND_FILE to get a list of filenames.  Every 
once in a while a .DIR file shows up.  How can I tell if this file is 
actually a directory?  

The solution I'm using messes up the context variable of the LIB$FIND_FILE call.Has someone perhaps used QIO's to the disk ACP to examine the file's
directory bit?


-- 
Jeannette M. Garcia			Internet: xxan646@chpc.brc.utexas.edu
University of Texas System                        xxan646@emx.utexas.edu
Center for High Performance Computing   BITNET:   xxan646@utchpc