Edit Article

  • 73 views
  • 3 Editors

  • Edited

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!

Ad

EditSteps

  1. 1
    Open Notepad. Winkey + R opens "run", simply type "notepad" in there.
    Ad
  2. 2
    In the Notepad type:
    • @echo off
    • taskkill /IM (name of program here. Example: notepad.exe) /F
    • color 0a (optional, looks better)
    • pause (optional too)
  3. Screenshot (1) 3.png
    3
    ClickSave as and save it as namehere.bat
  4. 4
    Open the startup folder and move your namehere.bat to the startup folder.
  5. 5
    Done! 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!

Can you tell us about
accounting?
Yes I can
accounting
how to write an accounting ledger
Can you tell us about
drywall?
Yes I can
drywall
how to tape and float drywall
Can you tell us about
small business?
Yes I can
small business
how to set up a store
Can you tell us about
natural weight gain?
Yes I can
natural weight gain
how to get bigger naturally
Thanks for helping! Please tell us everything you know about
...
Tell us everything you know here. Remember, more detail is better.
Tips
Provide Details.
Please be as detailed as possible in your explanation. Don't worry about formatting! We'll take care of it. For example:
Don't say: Eat more fats.
Do say: Add fats with some nutritional value to the foods you already eat. Try olive oil, butter, avocado, and mayonnaise.

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

Categories: Computers and Electronics

Recent edits by: Laura, Acrid

Thanks to all authors for creating a page that has been read 73 times.

Did this article help you?
Yes No

Become
an Author!

Write an Article