Batch file to close and open a program


















Improve this question. Edmhar Edmhar 1 1 gold badge 6 6 silver badges 24 24 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Hackoo Hackoo He's saying it already waits to terminate before continuing. SomethingDark I edit my answer thank you for notice me — Hackoo. Marichyasana Marichyasana 2, 1 1 gold badge 17 17 silver badges 19 19 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. Sep 20, 38 0 0. I discovered a little app the other day, that may be useful in this situation.

It's called runhide. It's a command line app that can launch other command line apps and batch files silently and without a DOSbox appearing. I've been using it to hide an annoying dosbox popup I had whenever my PVR changed channels on my cable box and it's worked like a charm.

I'm not sure whether it could be integrated into Skace's batch while retaining all the functionality of the batch, but if it could be applied it would run the batch without a DOSbox appearing at all, if that's a consideration.

At least that's true for XP, as I put together a small batch using long file names only this morning, coincidentally, and it worked ok. Originally posted by: rh71 no spaces in batch files, correct? Thanks for all the advise guys! I won't be able to try any of it later, but how would I use RT's tool with the batch file. It doesn't matter to me whether a DOS window is open, but if it does interfere with the game, then I'd like to try the batch file with RT's tool.

Thanks again! Try the batch file first, if it does exactly what you want it to do, then worry about hiding it with RT's tool. BTW, you will be using the batch file as your WoW shortcut.

So create the batch file somewhere, make a shortcut to the desktop and then associate that shortcut with the WoW Icon and run that to start WoW from now on.

If the shortcut to the batch works to your liking, download RunHide and throw it in your system32 folder. Will do. Thanks again guys. I'll update when I have a chance to try it all out. Cool skace's method works. I'm at work so I tried this on my work PC: This is in the.

If so, how do I use it? Edit: Hmmm I didn't notice it earlier, but after it re-launches Firefox at the end, the DOS window stays open until I close Firefox. Heh, I'm not sure if the functionality changed, but I took another look and this should work for you. Did some testing of my own. Cool thanks skace that works perfectly!

Now to try the runhide solution Try what I posted above and then try this and use whichever one works better. The problem with testing with wordpad is that Windows knows where it is and is always able to open it I should have picked something more unique. Edit: Ok glad that worked, I'll leave this info here incase it comes in handy.

Gluck with runhide. Co-authors: 3. Updated: March 29, Categories: Basic Computer Skills. Thanks to all authors for creating a page that has been read 45, times. Is this article up to date? Yes No.

Cookies make wikiHow better. By continuing to use our site, you agree to our cookie policy. About This Article. Featured Articles How to. Trending Articles How to. New Pages How to. Watch Articles How to. By signing up you are agreeing to receive emails according to our privacy policy.



0コメント

  • 1000 / 1000