Line At A Time
Level 13: Wildcards
Wildcards Talk about a whole group of files at once.

The * is a wildcard meaning "anything at all". *.TXT means "every file whose type is TXT", so one short command can talk about a whole group of files.

It works on the other side of the dot too: HELLO.* means "every file called HELLO, whatever its type". A dot in an 8.3 name really does split it into two halves, and a wildcard can stand in for either.

With a wildcard and a folder name, one COPY moves every text file at once, and counts them for you. This is where wildcards start to earn their keep.

DIR HELLO.*Every file called HELLO.
COPY *.TXT GAMESCopy every .TXT into GAMES.
DIR GAMESSee what arrived.
Your task
  • Use a wildcard on the name side: HELLO.*
  • Copy every .TXT file into GAMES at once

Open this level in your browser to type the commands at a live terminal that answers back.