Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

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

08 Aug 2013   #1

Windows 7 Ultimate x64
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 System SpecsSystem Spec
08 Aug 2013   #2

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

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 System SpecsSystem Spec
09 Aug 2013   #3
x BlueRobot


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 System SpecsSystem Spec


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

Thread Tools

Similar help and support threads
Thread Forum
Batch Files - Create a Menu to Execute Commands
How to Use a Batch File to Create a Command Prompt Menu to Execute Commands This tutorial shows the process one goes through when creating a batch file that opens a command prompt menu allowing you to launch commands, programs and more. I will only be executing programs in this tutorial,...
Execute Program in Batch File As Administrator (Or Other Solution)
We use a program called TFC.exe (Temp File Cleaner - to wipe all sorts of temp files off a computer on a monthly basis. The older version was a standalone .exe that users used to execute from a a folder on a server. The newer version is actually installed on each user's PC. If...
General Discussion
Making the 'edit' option on batch files open in notepad++
Hello, Tonight it seems like I have really got myself into a pickle. As the title says I tried to change the default editor for batch files. I dinked around in the registry a bit, and I now have myself this. Any suggestions to actually making it work? Thanks...
General Discussion
How to find a notepad file with a specific word in it
Hello SevenForums! Right now on my computer, i have a lot of notepad files. In one of those files, it contains a specific word along with some other words. I need to find that notepad file, so how would i search for notepad files containing XXXXXXX? I tried in the top right searchbar, no luck.
General Discussion
Help with Batch file, if statement in a specific time.
hi, I am working on a batch file, such as If this is not possible, then just simply, Thanks!
General Discussion

Our Sites

Site Links

About Us

Find 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 14:49.
Twitter Facebook Google+