Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
write test line into log file with
Name: ThePuFF Date: April 25, 2007 at 00:58:01 Pacific OS: NT4 CPU/Ram: p3 866
Comment:
cant figure this out:-( i know how to put a dir list into a text file but i cant firgure out what to do with this: i want to write a word into a status.log file it has to write it on the next line in the text file there are allready some entry's 1 2 3 downloaded <--- this is what the batchfile must enter so its no more then just a word (allways the same) on the next line
Name: Mechanix2Go Date: April 25, 2007 at 01:41:31 Pacific
Reply:
If you just want to append a line:
echo downloaded >> myfile
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 2
Name: ThePuFF Date: April 25, 2007 at 01:49:40 Pacific
Reply:
txs for youre reply but that doesnt work, i tried that but because of several lines are filled allready with XXX XXX XXX and on the next line downloaded must be written. the lines and after that will/must be filled again to. with just a echo, it will empty all lines and put downloaded in it that echo i figured out 10 minutes ago:-) but it has to go on the last empty line
0
Response Number 3
Name: Mechanix2Go Date: April 25, 2007 at 05:36:54 Pacific
Reply:
I'm not with you yet. But if your file is this:
one two three
and you do:
echo new >> myfile, you will have:
one two three new
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 4
Name: ThePuFF Date: April 25, 2007 at 06:51:06 Pacific
Summary: I have a text file and want to put a blank line into the file, between log enteries. eg. Not Delivered......23/04/2008 - 11:37:26.45 At 10:30 tada tada tada Not Delivered......23/04/2008 - 12:37:2...
Summary: So.. I'm having a bit of trouble with something that I thought would be relatively simple. I'm trying to collect the Java version from a number of computers with a login script, and write that informa...
Summary: Here's how I create and write to a log file: Set objFSO = CreateObject("scripting.filesystemobject") Set logStream = objFSO.createtextfile(logFile , True) logStream.writeline "Text written into log fi...