How can I use the builtin readline library to complete arguments to commands? I have basic completion working now, so that %wmi > st [TAB] will show valid commands starting with "st" (in this case "start" and "stop"), but how do I complete arguments specific to that command? For instance, if the user has already typed "start Te" and then hits TAB, it should show completions specific to the start command (in this case "TestDevice" and "TerminalServer"), but I'm not clear on how to do this. -- Bill Atkins