Delphi程序启动参数的读取

Delphi中有两个专门用于读取命令行参数的变量:  
  Paramcount-->用于返回命令行参数的个数  
  Paramstr数组-->用于返回指定的命令行参数  
   
  示例代码:  
  showmessage('命令行参数个数为:'+inttostr(paramcount));  
  showmessage('第1个命令行参数为:'+paramstr(1));  
  showmessage('应用程序名称为:'+paramstr(0));  

原文地址:https://www.cnblogs.com/qi123/p/9223732.html