File Error


(Contents)(Previous)(Next)

PC Access had an error while trying operate on a file or a directory. For file operations to succeed, several conditions must hold. If you need to read a file, the file must exist. If you need to write to an existing a file, you must have write permission for that file, and to the drive on which you want to write it.

The most common file errors are:

· Access Denied: PC Access tried to open a file for a particular operation, but the file attributes do not permit this operation. For example, the file may have the read-only attribute, and PC Access tried to open the file for writing. Type HELP ATTRIB at your DOS prompt for more information on file attributes. Be aware that you may be unable to write to any files on certain types of drives, such as CDROMs and read-only network drives.

· No such file or directory: PC Access tried either to open a non-existent file for reading, or change to a non-existent directory.

· Too many open: PC Access ran out of file handles. This can be a problem if you are running other Windows applications that open many files simultaneously. Set your FILES statement in your CONFIG.SYS file to at least 70, and higher if you plan to run several applications at the same time.

You can reduce the frequency of file errors by running SCANDISK (with a full surface scan!) regularly to detect and repair file system damage. Also you should check the free space on your hard disk regularly. If your free space drops below 5 MB on the disk where you installed PC Access, you are in danger of running out of space. Also be sure your Windows temporary directory exists, and you have plenty of free space (>10 MB) on the drive it occupies. You can identify your temporary directory by looking for statements like:

SET TEMP=C:\WINDOWS\TEMP

in your CONFIG.SYS file.

The following table lists the file errors PC Access (and other applications) may report. If you can't determine the cause of a file error, follow the instructions for an Internal Error.

Error Mnemonic Error Message
E2BIG Bad environ
EACCES Access denied
EACCES Bad access
EACCES Is current dir
EBADF Bad handle
EFAULT Reserved
EINVAL Bad data
EINVAL Bad function
EMFILE Too many open
ENOENT No such file or directory
ENOEXEC Bad format
ENOMEM Mcb destroyed
ENOMEM Out of memory
ENOMEM Bad block
EXDEV Bad drive
EXDEV Not same device


(Contents)(Previous)(Next)