FDOS / freecom

FreeDOS Command Shell (command.com)
http://www.freedos.org/
GNU General Public License v2.0
158 stars 38 forks source link

Bug: COPY to non-existing drive #84

Closed bttrx closed 2 years ago

bttrx commented 2 years ago

Today I tried to copy COMMAND.COM to a non-existing drive J:. I used FreeDOS 1.3 and FreeDOS Interim Build T2211. Both report FreeCom as version 0.85a - WATCOMC - XMS_Swap [Jul 10 2021 19:28:06]. Here's my screen:

C:\>copy command.com j:
Invalid parameter. - 'j:'
C:\>copy command.com j:\
File not found. - 'j:\*.*'
Out of memory error.
C:\>copy command.com j:\command.com
File not found. - 'j:\command.com'
Out of memory error.

Doing the same in MS-DOS 6.22:

C:\>copy command.com j:
Invalid drive specification
C:\>copy command.com j:\
Invalid drive specification
C:\>copy command.com j:\command.com
Invalid drive specification

copy command.com j:\ and copy command.com j:\command.com should report the same error as copy command.com j:.

And in a perfect world the error message would be Invalid drive specification.

bttrx commented 2 years ago

Thanks to both of you!