A simple document management system
[dir] List directory not distinguishing between files and folders.
[ls] List directory distinguishing betwwen files and folders.
[cd] Switch to the working directory.
[mkdir] Create new folders under the specified directory.
[rmdir] Delete folders form the specified directory.
[touch] Create files under the specified directory.
[rmfile] Delete files from the specified directory.
[move] Move files or folders.
[write] Wirte files.
[cat] View the contents of the specified file.
[help] Print the helping menu.
[cls] Clear screen.
[copy] Copy the specified file.
[hault/quit] Exit from the current file system.
To complete the function of "cd".
For example, "cd ADC". When there is no folder named "ADC", my program will give a prompt and do nothing next. However, i want to make it be able to ask the user whether he want to make a new folder beyond the specified dirctory or not. Thus,"no" for rejection and "yes" for permission.