1.

Solve : Open a file every week as a reminder using batch?

Answer»

HI

Is it possible to open a excel file every week using a batch script which should run AUTOMATICALLY after user logging into a system Kind of confused as to what you want to have happen.

A scheduled task in windows can launch an excel file to load at a specific time etc.

A batch or excel file added to the startup folder can cause an event to trigger on logon.

More INFORMATION on what you need to have happen will produce a better solution. Has the OP already looked at this:
http://windows.microsoft.com/en-us/windows/schedule-task#1TC=windows-7
Quote

If you use a specific program on a regular basis, you can use the Task Scheduler wizard to create a task that opens the program for you automatically according to the schedule you choose. For example, if you use a financial program on a certain day each month, you can schedule a task that opens the program automatically to avoid the risk of FORGETTING to open it yourself.
Running a task once a week is a normal part of Windows. A batch file is seldom needed. Quote from: sivaramr on January 08, 2014, 01:11:34 AM
HI

Is it possible to open a excel file every week using a batch script which should run automatically after user logging into a system

Yes This is very Easy!
BUT THE BATCH FILE MUST RUN 24/7


Code: [Select]@echo off
:remind
ping LOCALHOST -n 604800 >nul
start C:\YourPathHere\YourExcellWork.xls
goto remind
NOW ADD THIS TO YOUR STARTUP FOLDER SO EVERY TIME YOU LOGIN IT WILL START BUT TAKE NOTE THE TIMER WILL RESTART ON LOGIN!

The ping localhost -n 604800 >nul Will Wait Till a week in seconds which a week in seconds is 604800

Dont Forget to Change C:\YourPathHere\YourExcellWork.xls To Your Actual Path

There You GO I Found This Out MySelf


Discussion

No Comment Found