Batch code to write System turn on time in txt file -
i need batch code write system turn on time in txt file. means need write time @ windows turned on txt file.
try this:
@echo off >"c:\path\to\startup.txt" (for /f "tokens=3,4" %%a in ( 'net statistics workstation ^| find "since"' ) ( echo %%a %%b ))
Comments
Post a Comment