Page 1 of 1

How to run a .bat file at a specific time

Posted: 06 May 2009 12:17
by BuggerMan
Hi@ll, i've tryed by doing

@echo off
AT 9:00 AM start iexplore.exe - nothing happens T_t

ty in advance

Posted: 07 May 2009 11:58
by jazu100

Posted: 07 May 2009 20:17
by avery_larry
if you run the command at, you'll probably see what's happening.

A) You can't use am/pm -- it thinks it's part of the command to run.
2) I'm pretty sure that "start" can't be used.
C) I think you want it to be interactive with the desktop.

So:

Code: Select all

at 9:00 /interactive "c:\program files\internet explorer\iexplore.exe"