Tuesday, August 30, 2005


Windows AT command

Why like this?

AT 07:00 /EVERY:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 cmd /c C:\scripts\script.cmd

I want the script to run at 7 am every day. Now if I put the days of the week, M, Tu, W etc. it will trip up if someone changes the locale, so is safer to put the numbers for each day in the month.

The cmd /c is because I want to run a cmd script or batch file, AT only works on .exe files, so giving it cmd.exe makes it happy.

Comments: Post a Comment

Links to this post:

Create a Link

<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]