Sunday, November 18, 2012

Creating a Batch File in MS Windows

1. Open Notepad
2. Type-in command prompts that are executable

      Echo on/off
      Echo XYZ Services Start
      Net start "avast! Antivirus"  (Open MS Local Services and type in service name EXACTLY as shown)

     
      Net start "-----------------" (Open MS Local Services and type in service name EXACTLY as shown. You can add as many service(s) as you wish)
      Echo XYZ services started

3. Save the notepad.
4. Change the file extension from .txt  to  .bat
Hope this helped!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.