Shell Creates a Zero-Byte File When Copying to a Full Disk
PSS ID Number: Q104684
Article last modified on 11-11-1993
PSS database name: O_MSDOS

6.00 6.20

MS-DOS


--------------------------------------------------------------------
The information in this article applies to:

 - Microsoft MS-DOS operating system versions 6.0 and 6.2
--------------------------------------------------------------------

SUMMARY
=======

If you use the Microsoft MS-DOS 6.0 or 6.2 Shell to copy multiple
files to a floppy disk, a 0-byte file may be created if the floppy
disk becomes full before all selected files are copied. In this
situation, no files are lost; however, the file that did not copy
remains on the source disk.

MORE INFORMATION
================

Steps to Reproduce Behavior
---------------------------

1. Select multiple files that require more than one floppy disk to
   store.

2. Press F8 to copy the files.

3. In the To: box, type either A:\ or B:\, depending on the floppy
   disk drive you are using. Choose OK.

   When the floppy disk is full, you receive the following message:

      The disk is full.

      1. Skip this file and continue.
      2. Cancel the operation.

4. Change disks and press ENTER.

Shell begins copying files again. If you examine the first disk, you
find a 0-byte file with the filename of the last file that Shell tried
to copy, even though that file is still on the source disk.

Additional reference words: 6.00 6.20 zero-byte

Copyright Microsoft Corporation 1993.