开始和退出时间的bat文件

Bat file for start and exit time

我有一个.exe文件可以从芯片下载数据。 我想知道这个程序的开始时间退出时间,使用.bat文件,但我不知道该怎么做.

请帮帮我!

谢谢

ECHO start: %time%
yourexecutable
echo end  : %time%

我就是这样做的。

如果您的可执行卷轴/页面开始时超出屏幕,我希望:

Set StartTime=%time%
ECHO start: %StartTime%
yourexecutable
Set EndTime=%time%
Echo start: %StartTime%
Echo end  : %EndTime%
Echo Yourexecutable ran form %StartTime% to %EndTime% >>"YourExe.Log"
Pause