This code will read a line from a text file:
set file = CreateObject("Scripting.FileSystemObject").OpenTextFile("c:\number.txt", 1)
text = file.ReadLine
MsgBox text
How can I make it read repeatedly one line after another from the same file? I guess, I should use a loop here, right? I need it to read the first line from the file at th...
how can i save the file in utf-8?
Dim FSO, File
Set FSO = Server.CreateObject("Scripting.FileSystemObject")
Set File = FSO.OpenTextFile(Path,2,true,-1)
File.Write(xml1)
File.Close
Set File = Nothing
Set FSO = Nothing
...
Hello,
I am trying to open a binary file and add some data in a specific position (after byte 29).
This is my code:
function exportFile(text)
{
var fso, f2;
fso = new ActiveXObject("Scripting.FileSystemObject");
f2 = fso.OpenTextFile("C:\\Users\\Devesa\\Documents\\"+url,8);
f2.Skip(29);
f2.Write(text);
f2.Close;...