Wednesday, January 11, 2006
[VBScript] A CLI framework
Here's a simple framework for building your own CLI (Command Language Interface) Keywords at this point are: quit, exit, bye, eval, echo, set and run. Below is a sample session. Now my own version adds a little to this framework by including a .vbs file full of extra symbols, procedures and classes. I've reproduced it below just so that you can see how to do a synthetic include in VBScript. Interestingly, the technique also works in HTAs. Enjoy.