忘记了那天心情好,写过一个破程序,控制台的,如下:(水平太次,不要见笑)
program Project2;
{$APPTYPE CONSOLE}
uses
SysUtils,windows;
var
i:integer;
count:integer;
cmdstr:String;
begin
{ TODO -oUser -cConsole Main : Insert code here }
//netsend 127.0.0.1 hello 100
if paramcount=3 then
begin
count:=strtoint(ParamStr(3));
cmdstr:='net send '+paramstr(1)+' '+paramstr(2);
for i:=1 to count do
winexec(Pchar(cmdstr),0);
end;
end.