How to Automatically Close Open Windows on Startup
Is there an annoying window that opens when you startup? Or do you just want to open a fie on startup and close it later? Here's how!
EditSteps
-
1Open Notepad. Winkey + R opens "run", simply type "notepad" in there.Ad
-
2In the Notepad type:
- @echo off
- taskkill /IM (name of program here. Example: notepad.exe) /F
- color 0a (optional, looks better)
- pause (optional too)
-
3ClickSave as and save it as namehere.bat
-
4Open the startup folder and move your namehere.bat to the startup folder.
-
5Done! On the next startup, whatever program you selected for step 2, will automatically close at startup. (if it is running, of course)Ad
We could really use your help!
accounting?

drywall?

small business?

natural weight gain?

EditTips
- You can also just copy+paste the command if you want. (ctrl+c for copy and ctrl+v for paste)
EditThings You'll Need
- A computer (tested on Windows 8.1 but it should work on anything with cmd)
Article Info
Thanks to all authors for creating a page that has been read 73 times.