Hey Sahana,
So it creates a text file with the contents 1.0.0... is that all thats in the text file?
I have limited knowledge of vbscript so excuse me if i go wrong anywhere... I think this is the sort of thing you need to do:
textToRead will then hold the entire contents of the txt file, if you only want a bit of it then use the read function(google it)
Cheers,
Jamey
So it creates a text file with the contents 1.0.0... is that all thats in the text file?
I have limited knowledge of vbscript so excuse me if i go wrong anywhere... I think this is the sort of thing you need to do:
Code:
dim fso, fileToGet, myfileStream, textToRead
set fso = CreateObject ("Scripting.FileSystemObject")
set fileToGet = fso.GetFile("c:\[b]<the file path etc>[/b]")
set myFilestream = fileToGet.OpenAsTextStream (1)
set textToRead = myFileStream.readAll;
myFileStream.Close
Cheers,
Jamey