2010-04-01 94 views

回答

1
fileName := ExpandConstant('{pf}\{#MyAppName}\batch.bat'); 
    SetArrayLength(lines, 3); 
    lines[0] := 'echo hello'; 
    lines[1] := 'pause'; 
    lines[2] := 'exit'; 
    Result := SaveStringsToFile(filename,lines,true); 
+0

一些評論會有幫助。 – pamphlet 2013-09-06 14:08:30

相關問題