[net.micro.pc] stat

rld@druhi.UUCP (DucharmeRL) (09/22/86)

I am writing a program on a PC6300+ that does a stat() function call [using
Microsoft C compiler version 3.0] on the following - "a:".  This always returns
ax=ffff as a failure.  However, stat("a:new", &stat_buf) does return a valid
status.  Replacing "a:" with a "a:\\" does not help and if you do a "ls -la"
(UNIX command transported to MSDOS), there is no "." or ".." files on the
floppy or in the root directory of "c:".  Could this be why the stat fails
to work for the root directories?  My basic intent of the stat() is to find
out if the file is a directory or not (I pass the command a "a:"). Further
information is that I am running PC-DOS 3.10 on the PC6300+ with a 20MB hard
disk and a 1.2Mb Floppy.

Thanks in advance:
	Robert Ducharme
	ihnp4!druri!rld
	(303)  538-4066