@echo Checking for System Up Time @systeminfo | @find "System Up Time:" > uptime.txt notepad.exe uptime.txt