I need to get VBScript to write a variable to an existing text file
I need it to add it on to the end of the last existing line, so if this is the file:
1. stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,
2. stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,
3. stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,[I WANT IT WRITTEN HERE]
I know this should be stupid simple, but when it comes to VBS, im stupid!
I can get the variable written to the file, but it overwites everything, rather than appending it to the end of the last line.
Any help appreciated.
I need it to add it on to the end of the last existing line, so if this is the file:
1. stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,
2. stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,
3. stuff,stuff,stuff,stuff,stuff,stuff,stuff,stuff,[I WANT IT WRITTEN HERE]
I know this should be stupid simple, but when it comes to VBS, im stupid!
I can get the variable written to the file, but it overwites everything, rather than appending it to the end of the last line.
Any help appreciated.