Question: NEED HELP WITH UNDERSTANDING THIS. NEED THIS DONE IN COMMAND PROMPT. I am not sure what other information you need. I am having a hard

 NEED HELP WITH UNDERSTANDING THIS. NEED THIS DONE IN COMMAND PROMPT.I am not sure what other information you need. I am having

NEED HELP WITH UNDERSTANDING THIS. NEED THIS DONE IN COMMAND PROMPT.

I am not sure what other information you need. I am having a hard time understand how to batch a file in command prompt.

(10 pts) This batch file is supposed to remove the directory named PLANETS and all its files from 1171 DATAFILES\UNIT2 directory and then display a message that tells the user the directory was removed. Next, it should redirect a graphical listing of just directories in the 1171_DATAFILES\UNIT2 directory to a file named MyTree5.txt inside the 1171 DATAFILES\UNIT2 directory. The lines are all in the correct order, but there are five (5) errors in this batch file. There could be more than 1 error on a line. Your job is to use the code provided to create the NoPlanet.bat and correct the errors. Print your finished file. (Note: replace the drive letter with the drive that holds your 1171_DataFiles folder] @ECHO OFF REM created by Your name here on current date here REM to remove the PLANETS folder REM Save as NoPlanet.bat CLS ECHO This process will remove the PLANETS directory and won't take long. ECHO PAUSE DELETE C:\1171_DATAFILES\UNIT2\PLANETS /f ECHO. The Planets directory was successfully removed. PAUSE TREE C:\1171_DATAFILES\UNIT2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!