none
How to code this batch file? RRS feed

  • Question

  • I would like to close CMD window after opening it using batch file.

    Does anyone have any suggestions?
    Thanks in advance for any suggestions

    notepad.exe "C:\Testing.TXT"


    Thanks in advance for any suggestions

    Wednesday, October 11, 2017 12:53 PM

Answers

  • Use this:


    @start "" notepad "C:\Testing.TXT"


    -- Bill Stewart [Bill_Stewart]

    • Marked as answer by oemMicrosoft Friday, October 13, 2017 1:25 PM
    Wednesday, October 11, 2017 3:08 PM
    Moderator

All replies