While working with which command is used to copy all files from the currently logged drive and directory with the extension .txt to the drive a A. Copy a. *.txt B. Copy *.txt a: C. Copy *.txt c: D. Copy *.txt all.txt

Copy a. *.txt
Copy *.txt a:
Copy *.txt c:
Copy *.txt all.txt

The correct answer is: B. Copy *.txt a:

The command Copy *.txt a: will copy all files with the extension .txt from the current directory to the drive a.

The other options are incorrect because:

  • Option A, Copy a. *.txt, will copy all files with the extension .txt from the directory a to the current directory.
  • Option C, Copy *.txt c:, will copy all files with the extension .txt from the current directory to the drive c.
  • Option D, Copy *.txt all.txt, will copy the file all.txt from the current directory to the drive a.