The correct answer is: A. Copy a. *.txt
The copy
command is used to copy files from one location to another. The syntax for the copy
command is:
copy source destination
The source
is the file or files that you want to copy, and the destination
is the location where you want to copy the files.
In this case, the source is all files from drive A with extension .txt, and the destination is the currently logged drive and directory. To specify all files from drive A, you can use the *
wildcard character. To specify files with extension .txt, you can use the .txt
wildcard character.
Therefore, the correct command to copy all files from drive A with extension .txt to the currently logged drive and directory is:
copy a. *.txt
Option B is incorrect because it does not specify the destination. Option C is incorrect because it specifies the wrong drive. Option D is incorrect because it does not specify the files that you want to copy.