Archive: FileCreate


FileCreate
Hi,
Like FileOPen, FileClose, FileRead, etc i need to create a file, how can I do that??

TIA


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,
http://forums.winamp.com/showthread....hreadid=262083


Thanks RW
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 :)