Use CreateProcess() api to achive this.
Set (STARTUPINFO ) si.dwFlags =STARTF_USESHOWWINDOW
then si.wShowWindow = SW_HIDE

refer the following link :  http://www.codeproject.com/KB/winsdk/runsilent.aspx




On Dec 16, 10:57 pm, "[email protected]"
<[email protected]> wrote:
> Hi,
>
> Please  help me.
>
> Any one know how to hide the console window that appears while
> executing the batch files.
> Please let me know.......if  any one knows it.
>
> Thanks,
> Ram.

Reply via email to