Automatically close the DOS Command Shell window (after last line)?

Home Forums Scripting DOS Command Shell Automatically close the DOS Command Shell window (after last line)?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    dreivilo47
    Member
    #167233

    I have a batch file named “test.cmd”.

    The file contains 1 line:
    “C:Testtest.txt”

    The goal is to open the file “C:Testtest.txt”, that’s working.
    But the DOS Command Shell window remains open until I close the txt-file manually.

    So, my question is: How to automatically close the DOS Command Shell window after opening “C:Testtest.txt”?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.