Disk Operating System (DOS) Question:

While working with MS-DOS, which command is used to rename a file named file1.doc to file2.doc from a different directory called dir1?

a. Ren2.doc dirfile1.doc
b. Ren file1.doc file2.doc
c. Ren .docdir.doc
d. Ren dir1file1.doc file2.doc

DOS (Disk Operating System) Interview Question
DOS (Disk Operating System) Interview Question

Answer:

d. Ren dir1file1.doc file2.doc


Previous QuestionNext Question
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
While working with MS-DOS which command is used to copy all files with extension .txt into one file named all.txt?

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