Which command will prevent subsequent changes to the file CBT.EXE? A. RENAME + r CBT.EXE B. ATTRIB + r CBT.EXE C. COPY + r CBT.EXE D. MODE + r CBT.EXE E. None of the above

RENAME + r CBT.EXE
ATTRIB + r CBT.EXE
COPY + r CBT.EXE
MODE + r CBT.EXE E. None of the above

The correct answer is B. ATTRIB + r CBT.EXE.

The ATTRIB command is used to change the attributes of a file. The +r attribute makes the file read-only, which means that it cannot be modified.

The RENAME command is used to change the name of a file.

The COPY command is used to copy a file.

The MODE command is used to change the mode of a device, such as a printer or a serial port.

Therefore, the only command that will prevent subsequent changes to the file CBT.EXE is ATTRIB + r CBT.EXE.

Exit mobile version