How to add text to a file?
You can use the function SaveStringToFile()to add text to the file.
SaveStringToFile()
fileName := ExpandConstant('{pf}\{#MyAppName}\batch.bat'); SetArrayLength(lines, 3); lines[0] := 'echo hello'; lines[1] := 'pause'; lines[2] := 'exit'; Result := SaveStringsToFile(filename,lines,true);
Source: https://habr.com/ru/post/1739473/More articles:Server response / callback after downloading Silverlight file - file-uploadПочему EnumerableRowCollection.Select() не компилируется? - c#https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1739470/bulk-convert-list-of-book-titles-to-amazon-asins&usg=ALkJrhgl-OD5xIAG5-SzubWECN2ZEJH3WQBest practices for configuring PHP mysql connection - phpcreating and installing custom php functions - phpIs this a bad design pattern? - javaDifferences between IE7 and Firefox / Opera / Chrome - htmlLooking for a free tool for visualizing object relationships for C # - .netLaunch Django as a Windows Service - djangoPriority Queue Option - c ++All Articles