|
From: Rick L. <sev...@co...> - 2004-04-20 07:51:54
|
I am writing an operating system called StarFire it will be based off of dos, however the programs included with command.com (dir, echo, etc. ) will be external commands in the C:\bin folder. What functions can I use to detect arguments passed from the shell to a program. Example: [dir.exe -a C:\bin] or [dir.exe -hsx C:\bin] dir is the standard dos dir statement however i want the arguments to be: -a all files -h hidden files -s system files -x compressed files -u user files -t text files or any combination of those with only one dash. Is this possible? |