You can try with
start "C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://www.CNN.com" & exit
I hope, It should work.
Cheers,
Arul
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
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.
You can try with
start "C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://www.CNN.com" & exit
I hope, It should work.
Cheers,
Arul
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
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