Creating a reminder to keep up the busy schedule and to get things done can be tough.
Making use of the tools in this digital world would make things easy and possible.
Keeping things simple, is way much better than doing things with complexity.
Time is precious and simple things, should be done in a simple way.
How to create a popup reminder using batch file script?
This solution is quite simple and does not need a single penny.
Batch file script code below will display or open a notepad for a specified x minutes.
If the specified x minutes is reach, notepad will close.
A simple way of running a reminder using the command prompt.
Of course, this need to team up or configure with Windows Task Scheduler.
Configure the Task Scheduler and run it on specified minutes that you need the reminder to open.
Click link below on how to configure Windows Task Scheduler:
http://quickbytesstuff.blogspot.sg/2014/03/how-to-set-windows-task-scheduler.html
Here's the batch file code:
===================================
@Echo off
REM Start a notepad with a different process
REM Change the notepad location where the file resides
cmd /c start "" "%SystemRoot%\Notepad.exe" d:\MyLogFile.txt
REM Display the notepad for 5 seconds
sleep 5
REM Kill all notepad processes
Taskkill /IM notepad.exe
===================================
Limitation:
This script below, will close all notepad processes running on the system.
Make sure that no instances of notepad is running, when this script runs.
Enjoy..Happy coding..
Comments
Post a Comment