#import <Foundation/Foundation.h> int main (int argc, const char *argv[]) { NSLog(@"the count of command- line parameter:%d",argc); if(argc!=1) { NSLog(@"Program Full Path=%s",argv[0]); NSLog(@"First para:%s",argv[1]); } return (0); }