I need to count every time a computer is turn off or restarted. Thus I believe i can do this with a batch file by adding it to the start menu. Thus everytime you turn on PC it will run. When it runs it should
open c:\count.txt
read in the value on that text file
add 1 to it
write the value to the text file
exit.
but I have not used batch files much and could not figure out how to read in the number from the text file.