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.
Re-direct ">" info to a text file WITHOUT re-creating that text file
Name: Scott Date: January 28, 2000 at 08:28:05 Pacific
Comment:
Greetings, I'm trying to write a text batch file for NT that tracks user logins by creating a file called %username% evertime a user logs in. I then re-direct ">" that info to a .txt file as a psuedo user log. Problem is the ">" command re-creates that log file every time it's executed. So, any ideas on how to get ">" to append a .TXT file without re-creating it???
Summary: Hello. I'm trying to write a batch file that can pull the contents (just a single word) from a text file. I am currently using a batch file to output the user context of a login to a text file. What...
Summary: I'm glad you brought that up. I'm not a wiz at "real" batches, but there's are always more than one way to do something. You could use the Sc command (Service Control, I suppose.) XP is loaded with i...