Custom CLI

I think I've got this down for the plan:

The program will read the .cli file, execute the commands one by one (top to bottom in the file), and exit if the file ends or if a "~E" is placed somewhere.

Is this how a custom command-line interpreter works?

And also, how do I let the console accept drag and drop functions that set the dropped file's location?
Last edited on
No replies?

Anyways, I've revised how it will work:

1. Opens cli file.
2. Searches cli file for commands, one by one.
3. If command is found, it checks for possible parameters or switches.
4. If switches are found, it executes the command specified in the cli file with the switches and/or parameters.
5. Checks for EOF, if not reached, it loops back to step 2.
Topic archived. No new replies allowed.