Don't know should how to adjust,
CodePudding user response:
WinExec (' domytask. Bat, SW_HIDE);
CodePudding user response:
Has been solved!!!!!!CodePudding user response:
Delphi is still in use now? It seems that the very oldCodePudding user response:
shellexecute (handle, the 'open', pchar (FileName), pchar (sParam), nil, sw_shownormal);
CodePudding user response:
ShellExecute (0, the 'open', 'XXX. Bat, nil, nil, SW_SHOWNORMAL);