That code is a bit ... um ...
unplanned
You are expecting your user to type full words - which is OK, but limiting - and then without giving them any idea what to do expecting them to type exactly the right words, using exactly the right mix of case: "List" will not match "list" or "LIST" for example.
And you only give them one chance to do it: your loop is useless because it doesn't fetch any more inputs from the user if there is no match, while your switch exits the function - and the whole app - if there is a match.
And if it ever did work, it would immediately fail in production because the EXE folder is write protected when you install properly! See here:
Where should I store my data?[
^] for some better ideas.
I'd suggest that you start with a clean sheet and plan what to do first: how is the user to interact with your app and design the code around that before you even start making anything work "behind the scenes".
If you are having problems getting started at all, then this may help:
How to Write Code to Solve a Problem, A Beginner's Guide[
^]