Hi,
Like FileOPen, FileClose, FileRead, etc i need to create a file, how can I do that??
TIA
FileCreate
4 posts
If you just want to create a new text file e.g.
FileOpen $0 '$EXEDIR\file_name.txt' w
FileWrite $0 'a_line_of_text$\r$\n'
FileWrite $0 'more_line_of_text$\r$\n'
FileClose $0
ExecShell open '$EXEDIR\file_name.txt'
Also check this thread,
FileOpen $0 '$EXEDIR\file_name.txt' w
FileWrite $0 'a_line_of_text$\r$\n'
FileWrite $0 'more_line_of_text$\r$\n'
FileClose $0
ExecShell open '$EXEDIR\file_name.txt'
Also check this thread,
Thanks RW
In this moment i was writing that i have the answer
In this moment i was writing that i have the answer
you're welcome!
Also by the same way you're able to create formated files like .ini .cfg .inf etc 🙂
Also by the same way you're able to create formated files like .ini .cfg .inf etc 🙂