Using notepad(batch programing) to execute a comand at a specific time


  1. Posts : 3
    Windows 7 Ultimate x64
       #1

    Using notepad(batch programing) to execute a comand at a specific time


    Can anyone help me make a command using notepad that can execute a task at a given time?
      My Computer


  2. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #2

    You need to explain what you want the task to do to get specific help creating a BAT file.

    Basically you need to:
    Create a file with Notepad and save it with a .bat extension and type of "All Files".
    This BAT file will have the commands you want to execute.

    Then you need to add a task in Scheduled Tasks to run the BAT file.
    In the Scheduled Task Triggers tab, choose "On a schedule" for the "Begin the task" drop down list and enter your schedule info.
    As this is in the Security Forum, my guess is you want to run some type of Security Program(s).
    I've set up BAT files and scheduled tasks for MS Security Essentials and Malwarebytes Pro.
    So, if it's those programs you want to run, I may be able to help you with the BAT file.
    If you need to run some other security program(s), I'll help if I can...but if I don't have your specific program I can't do any testing...
      My Computer

  3.    #3

    In addition to what has been said, I would recommend using Notepad++ Home instead of Notepad, since it will highlight the keywords within the batch file for you, and gives support for batch files.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:24.
Find Us