Microsoft KB Archive/51802

“File Creation Error” When Using RAMDRIVE.SYS PSS ID Number: Q51802 Article last modified on 01-22-1993 PSS database name: O_MSDOS

3.00 3.10 3.20 3.21 3.22 3.30 3.30a 4.00 4.01

MS-DOS

Summary:

If RAMDRIVE.SYS is loaded without specifying the number of entries parameter, then the message “File Creation Error” may be generated when a large number of files (more than 63) are copied to the root directory. This error message is also generated on a physical disk when the root directory is full and an attempt is made to copy another file that would require another directory entry.

The following are two workarounds to this problem:


 * 1) Include all three parameters in the DEVICE=RAMDRIVE.SYS line in the CONFIG.SYS file. The value of the last parameter, [entries], determines the number of entries in the root directory, with a default of 64 entries if not specified. This number should be a multiple of 32; otherwise, RAMDRIVE.SYS will internally round up to the nearest multiple of 32, giving you the wrong impression of the true number of entries allowed.
 * 2) Organize the RAMDrive the same way a hard disk would be organized, utilizing subdirectories. The number of directory entries allowed on a RAMDrive subdirectory is limited only by the size of the RAMDrive.

More Information:

Microsoft MS-DOS RAMDRIVE.SYS has a default of 64 entries allowed in the root directory. One of these entries is used by the system for a volume label. The remaining 63 entries are for your files.

Information about RAMDRIVE.SYS is located in the “Installable Device Drivers” section of the “Microsoft MS-DOS User’s Reference” for Version 4.00.

Additional reference words: 3.00 3.10 3.20 3.21 3.22 3.30 3.30a 4.00 4.01 noupd

Copyright Microsoft Corporation 1993.