Prev: Shrink plug-in windows?
Next: Reaper license question
From: John Braner on 31 Mar 2010 13:56 On 31/03/2010 17:26, Glennbo wrote: > For those of you who use batch files to run tasks like I do, you might > find the following useful. This example I found lets you test for the > day of the week, so you can selectively kick off tasks, only if on the > day of the week you want them to be run on. Enjoy! > > ---------------------------------------------------------------- > @echo off > > for /f %%a in ('date /t') do set DAY=%%a > if %DAY%==Mon goto :mon > if %DAY%==Tue goto :tue > if %DAY%==Wed goto :wed > if %DAY%==Thu goto :thu > if %DAY%==Fri goto :fri > if %DAY%==Sat goto :sat > if %DAY%==Sun goto :sun > > :mon > :: put your processing here > echo %day% > pause > exit > > :tue > :: put your processing here > echo %day% > pause > exit > > :wed > :: put your processing here > echo %day% > pause > exit > > :thu > :: put your processing here > echo %day% > pause > exit > > :fri > :: put your processing here > echo %day% > pause > exit > > :sat > :: put your processing here > echo %day% > pause > exit > > :sun > :: put your processing here > echo %day% > pause > exit > That's really cool. I use batch files - but I just run them when I click on them (no matter what day it is) ;-) -- =========== John Braner jbraner(a)NOblueyonderSPAM.co.uk http://cdbaby.com/cd/JohnBraner http://www.soundclick.com/johnbraner
From: Steve_Karl on 1 Apr 2010 03:24 "Glennbo" <vdrumsYourHeadFromYourAss(a)cox.net> wrote in message news:Xns9D4C745816200BrownShoesDontMakeIt(a)81.169.183.62... > > For those of you who use batch files Thanks, Stored for future just in case. SK
From: polymod on 1 Apr 2010 12:24 Good name for a band ;) Poly
|
Pages: 1 Prev: Shrink plug-in windows? Next: Reaper license question |