Why does "Insert the diskette that contains the batch file and press any key when ready." message appear?

Viewed 586

I just want to understand what is going on. I get the following message (English translation of Japanese message I got ... shown in the attached picture at the very end of this post):

Insert the diskette that contains the batch file
and press any key when ready.

To reproduce the message, here is what I did.

  1. Create a batch file "20201223_test.bat" with the following content:

    del /Q 20201223_*.*

  2. Place the batch file in a directory somewhere in B: drive (as a side note, B: is the name of an additional hard drive I've connected to my machine).
  3. Execute the "20201223_test.bat" by double clicking for example.
    The message I am talking about should appear.

Note: I understand there is problem with the content and naming of the batch file to begin with but I was baffled by the message. This message doesn't occur when it is in C: drive. When it is in C: drive, it shows the following message instead because "20201223_test.bat" has been deleted:

バッチ ファイルが見つかりません。

which translates to the following in English:

batch file could not be found


enter image description here

1 Answers

A: and B: drives are reserved for floppies. If only 1 floppy is installed it appears as both A: and B: drive as Windows/Dos emulate it as two physical drives by promoting you to put in right floppy.

You should not have mapped them.

Related