SET A Operating System Lab Quiz 1. Create a DOS batch file student.bat that examines the batch parameter %1 through %3. If a parameter is defined display the parameter’s value. If the parameter is not defined display an appropriate error message. [3] 2. Answer the following questions with respect to DOS: [3] 1. Which commands place entries in the environment? 2. How can you use SET to change your command prompt? 3. What is the function of REN command 4. what is purpose of pause command 5. How does Echo off affect pause? 3. Given the output of following: [4] 1. rm file * 2. wc < file1 3. ls|wc –l > file 4. mkdir abc|data abc|data2 abc Set B 1. Create a DOS batch file student.bat that examines the batch parameter %1 through %3. If a parameter is defined display the parameter’s value. If the parameter is not defined display an appropriate error message. [2] 2. Answer the following with respect to DOS [3]: 1. How do you change existing environ
Data and Tech notes for students and professionals