Share via

Exit does not close cmd window?

Anonymous
2010-10-15T02:03:11+00:00

I would like to close cmd window after running a batch file, the coding shows as below:

Once I run this file, it seems the command Exit do not perform it function.

Does anyone have any suggestions on how to fix it?

"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://www.CNN.com"

exit


Thank everyone very much for any suggestions

Windows for home | Other | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2011-06-20T12:26:40+00:00

    You can try with

    start "C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://www.CNN.com" & exit

    I hope, It should work.

    Cheers,

    Arul

    Was this answer helpful?

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2010-10-15T17:43:39+00:00

    Hi Oem7110,

    The issue you posted is related toscripting of batch fileand would be better suited in the Technet community. Please visit the link below to find a community that will offer the support you request.

    http://social.technet.microsoft.com/Forums/en-US/ITCG/threads

    Hope it helps.

    Regards,

    Srinivas

    Microsoft Answers Support Engineer

    Visit our  Microsoft Answers Feedback Forum and let us know what you think

    Was this answer helpful?

    0 comments No comments