Are you familiar with CCMD? I'm not sure it's very related to what you're trying to do, but this is a tool that was developed for helping tops20 users and programmers migrate to unix systems. It's a C library that implements most of the tops20 command parser, including command and filename completion, guid words, context sensitive help, and s on. IMO, tops20 provided the epitomy of command line interfaces, and CCMD provides most of the features for unix/dos/etc. I've always wanted a CCMD based cli for modern computer hardware... BillW -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu