closing a window in batch script

20 pts.
Tags:
batch queries
Batch Scripts
I have a batch script to open a window with variables to send a report. is there a way to close the window via the script?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Typically put “EXIT” as the last line in the script.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Please provide more details. Operating system, scripting language, instruction being used to open the window, etc
    69,990 pointsBadges:
    report
  • Jjkemp
    this is my .bat file: set cmd2="&S_GROUP=1""&S_YEAR=1""&R001=05""&R003=2009""&R003=2011" set cmd1=http://svestat:8011/mrcjava/servlet/FOLW_DB.R00410s?run=1"&outfmt=0" CMD.EXE /C START %cmd1%%cmd2% exit this is the resulting url: http://svestat:8011/mrcjava/servlet/FOLW_DB.R00410s?run=1&outfmt=0&S_GROUP=1&S_YEAR=1&R001=01&R003=2008&R003=2011 I want to close the url window I opened. can that be done?
    20 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following