function WriteFile() { var fh = fopen("c:\\MyFile.txt", 3); // Open the file for writing if(fh!=-1) // If the file has been successfully opened { var str = "Some text goes here..."; fwrite(fh, str); // Write the string to a file fclose(fh); // Close the file } } WriteFile();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)