Bat file run and close




















Solved - I try to run a bat file but it open and closes in a second 11 posts Started 11 years ago by sk3leto Latest reply from sk3leto Topic Viewed times. This post has been reported.

Some say it reports home after awhile. Don't know?? Think that Bot may be Bad. It just needs "exit 0" for a cleaner exit. GitaarLAB Jenna Leaf Jenna Leaf 1, 18 18 silver badges 24 24 bronze badges. Community Bot 1 1 1 silver badge. Loran Loran 1 1 silver badge 8 8 bronze badges. Luka Urushadze Luka Urushadze 5 4 4 bronze badges. Alex Waygood 4, 3 3 gold badges 10 10 silver badges 38 38 bronze badges. Eleventeen Eleventeen 1. Max Lorens Max Lorens 1 2 2 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science.

Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Go for any solution you find easy and best for you. Double click your. You will see that CMD will remain open as long as you want it to stay open. This is the very easy and handy way to prevent the Command Prompt window from closing after running commands. Your file will open in notepad. This will keep the Command Prompt window open until you do not press any key.

You can easily see each command which had run on the result of bat file in CMD as long as you do not press any key. You can prevent Command Prompt window from closing after running commands through adding a Registry Key in the Windows Registry. For this, type the following code in your Notepad and save the file with the.

After saving the file, double click on it.



0コメント

  • 1000 / 1000