Append to same line in a text file.

Microsoft Administering windows xp pro
July 24, 2009 at 11:21:39
Specs: Windows XP
I'm trying to use the contents of a text to import to Excel.

echo %computername%
systeminfo -s \\%computername% |Find "Up Time" >> \\servername\\Uptime\%computername%.txt

Currently the challenge is
the information posts on 2 lines

computer name
System Uptime

I want it to look like this roughly

computer name System uptime

See More: Append to same line in a text file.

Report •

July 24, 2009 at 17:17:24
This is the Networking Forum.


Report •

July 27, 2009 at 04:59:32
Yea i saw that after i saw the other kinds of posts in the forum. Its not obvious when your creating a post how to choose where to place it. Even though its a networking problem essentially it belongs in a different forum on this board.

If someone can move it to proper forum I'll be grateful.


Report •

Related Solutions

Ask Question