Batch File Output Issue
问题 I have a batch file which, if I run manually, produces a text file with a single number. However, if I schedule it with Task Scheduler, it produces an "error". Let me know if there is anything obvious that I am doing wrong. Batch file: rem Call mysql_start. bat which starts mysql and runs get_rain.bat and sends output to raw_totals.txt call mysql_start.bat rem Open raw_totals and remove 'raincounter' header type C:\CumulusMX\cocorahs_reports\raw_totals.txt | findstr /v raincounter > C: