How can I read or write files?: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page.)
 
No edit summary
Line 1: Line 1:
Use FileOpen, FileRead, FileWrite, FileSeek, and FileClose to manipulate files.
Use FileOpen, FileRead, FileWrite, FileSeek, and FileClose to manipulate files.


You can find a small example showing how to replace a line here.
You can find a small example showing how to replace a line [[Reading_and_Writing_in_files|here]].


Note that if INI files are in the question, it might be easier to use WriteINIStr, ReadINIStr, DeleteINIStr, and DeleteINISec.
Note that if INI files are in the question, it might be easier to use WriteINIStr, ReadINIStr, DeleteINIStr, and DeleteINISec.


[[Category:Scripting FAQ]]
[[Category:Scripting FAQ]]

Revision as of 15:14, 23 November 2009

Use FileOpen, FileRead, FileWrite, FileSeek, and FileClose to manipulate files.

You can find a small example showing how to replace a line here.

Note that if INI files are in the question, it might be easier to use WriteINIStr, ReadINIStr, DeleteINIStr, and DeleteINISec.