MikeL
MikeL

Reputation: 37

Windows 10 - Automatically exit batch script

This is my script:

SQLPLUS -S -M "HTML ON TABLE 'BORDER="2"'" username/pass@env @test.sql>test.html

After execution command prompt window stays open. How do I auto-close?

Upvotes: 1

Views: 2654

Answers (1)

Antonio Gschossmann
Antonio Gschossmann

Reputation: 612

After your line of code add another line, like this:

exit

or

tskill cmd.exe

I hope I can help you.

Upvotes: 2

Related Questions