I have written a small program that executes setacl.exe to set registry key rights for my users, using the credentials of the Local Administrator account and it works well. Now, I want to add more features to it.
I'm wondering if there is a way to include command line switch functionality in VB6 or VB5, like most DOS utilities use switches, example: Dir *.* /s /w.
I'm not sure how to compile and write the code for the program to accept switches following the program name, or something like this:
myapp.exe /dothis /dothat
Thanks.![]()