Like operator is fast and easy if you want to put flags in your command line:
Code:Public Sub Main() MyCmdLine = Command() If MyCmdLine like "*/a*" then 'Do what you what If MyCmdLine like "*/b*" then 'Do what you what If MyCmdLine like "*/c*" then 'Do what you what If MyCmdLine like "*/d*" then 'Do what you what If MyCmdLine like "*/e*" then 'Do what you what End Sub





Reply With Quote