delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/20/14:23:27

Date: Mon, 20 Oct 1997 14:18:02 -0400 (EDT)
From: "H. Anthony Hoyt" <hahoyt AT eng2 DOT uconn DOT edu>
To: DJGPP Mailing List <djgpp AT delorie DOT com>
Subject: Checking to see if I file exists
Message-Id: <Pine.SUN.3.95.971020141415.22091B-100000@lurch-fddi>
Mime-Version: 1.0

     I can't seem to remember how to check to see if I file exists or not.
What I want is, if the user enters in a file name, to check to see if the
file exists.  If so, I want to open the file, not overwrite it, read from
the file then recreate the file before I finaly save the file.  (All in
binary)  Any advice would be welcome.  Thanks

                                           Tony

May you find strength in magic -- RavenHart  @}->--'--,---


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019