ParamStr(0) 代表程序的路径, ParamStr(1) 代表程序的设置的参数
Delphi ParamStr 使用方法
原文:http://www.cnblogs.com/zhangzhifeng/p/5562819.html