exe程序获得外部传入命令行方法

(1)System.Environment.CommandLine;     //获得字符串

(2)System.Environment.GetCommandLineArgs();//获得字符串数组

posted @ 2012-03-04 20:34  davidlovelife  阅读(305)  评论(0编辑  收藏  举报