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
Answer: Option B
Solution (By Examveda Team)
To copy all files from the currently logged drive and directory with the extension .txt to drive A in MS-DOS, you would use the copy command with the appropriate syntax. Here’s the explanation for each option:Option A: Copy a. *.txt is incorrect syntax. It does not correctly specify the destination drive.
Option B: Copy *.txt a: copies all files with the extension .txt from the current directory to drive A.
Option C: Copy *.txt c: attempts to copy .txt files to drive C, not drive A.
Option D: Copy *.txt all.txt attempts to copy .txt files to a file named all.txt, not to a specific drive.
Therefore, Option B is the correct command to copy all files with the extension .txt from the current directory to drive A in MS-DOS.
Related Questions on Disk Operating System (DOS)
In MS-Dos what command you will use to display system date?
A. Date command
B. Ver command
C. Disk command
D. Format command
While working with Ms-Dos which command transfers a specific file from one disk to another?
A. Copy
B. Diskcopy
C. Time
D. Rename
If you don't know the current time, which command will you use to display
A. Copy
B. Ver
C. Time
D. Format

Join The Discussion