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.
Bat script overwrite text file
Name: AllenD Date: December 4, 2008 at 15:50:25 Pacific OS: XP CPU/Ram: 512 Product: Dell / DELL
Comment:
I need help with script that shows uptime of 50 pc's. The script run once a week and it works but i would like the script to overwrite last week results. I have tried > but it doesn't write anything on results.txt any idea what i should do?
@ECHO OFF for /f "tokens=* delims= " %%a in (c:\computer.txt) do ( uptime.exe %%a > \\pc12548\c$\results.txt )
Summary: Hi, I need make a batch file that would search for the line "(0 rows affected)" from a text file, if this line is found it should exit the script, else it should carry on with the rest of the script. ...
Summary: Hi i want bat script to edit filename.scn ,which is editable thru text editor. ---------S C N file Sample----- CUBEASF SearchPath=SEASONDATA\CIRCUITS\CHINA\SHANGHAI SearchPath=SEASONDATA\CIRCUITS\CHI...
Summary: Hello, I have about 100 text files. They are full of extra stuff that needs to be cleaned up. The stuff is one or more blank lines, trailing spaces, comment lines that start with a "#" and one byte th...