Skip to content

Instantly share code, notes, and snippets.

@rgnuj122
Created November 21, 2016 01:46
BCB call AT
String s,sh;
sh=FormatDateTime("hh:mm", Now()+0.001);//+1 minute
s.sprintf("AT %s C:\\a.bat",sh);
Label1->Caption=s;
WinExec(s.c_str(),SW_HIDE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment