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.
Script/bat file to add a line to text file(s)
Name: Jim Y. Date: June 3, 2000 at 22:50:47 Pacific
Comment:
REQUEST: I need a way to add a line of text to the beginning of a text file. I would then want to have a batch file run daily to add the same line of text to 100 files/day. Is there an easy way to do this in the NT environment?
DETAILS: We create 100+ reports daily in a text file format. I would like to display these reports in our company intranet via web browser. I found that by adding the line "
" (without quotes) to the beginning of the report, it displays beautifully in a web browser. Now if I can automate this tedious process, I am golden!
Summary: You can try using ROBOCOPY. It's in the NT resource Kit (you can download it from Microsoft). It is a very powerful utility that I use it to copy data from one machine to another. I'll give you two wa...
Summary: I am having a problem with accessing the NT domain. I accidently hit delete owner in the WINS manager (please don't ask how - just stupidity really). Anyway, after that it took a reboot of all the m...