Menu

(Solved) : Homework Creating Command Prompt Executing Simple Commands Cd Dir Cls Make Sure Read Entir Q44156619 . . .

For this homework you will be creating a Command Prompt. You

will be executing simple commands such as cd, dir, and cls.

Make sure you read the entire document! There are some thingseven at the very end

that you will not want to skip for the current and futureassignments!

You will be writing a class called CommandPrompt.java. Your goalis to create a program that acts the same way that Command Promptdoes.

We are first going to start in our home directory

:usergeorgeburdell

The program should terminate when the user inputs^c

You should have 3 folders in your home directory and withinthose folders, one

folder each

Desktop

TakeTheT

Documents

1331

Downloads

RamblinWreck

You can expect the user to only input

cd or cd folder name cd will move backwards one directory (seeSample Output for example)

This means that the last directory should be removed from thepathway

Expert Answer


Answer to For this homework you will be creating a Command Prompt. You will be executing simple commands such as cd, dir, and cls….

OR