Auto Detecting Extensions of Command & Arguments for Custom CMD