Home > Back-end >  Delphi7 calls the bat file
Delphi7 calls the bat file

Time:09-16

Delphi7 call bat file is always an error!!!!!
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 old

CodePudding 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);
  • Related