Hi Struan,
> at 03:00 /every:M,T,W,Th,F,S,Su C:\Bin\RestartEmail.Bat
Looks clean as can be. I notice you're not bothering with "cmd
/c" for that either...
> Just checked and our Scheduler runs logged in as Administrator.
Check.
> It also runs our backups every night without fail.
You must hold your nose right when you are asleep <g>.
> I think the problem with the "Cmd dir ..." might be the redirection.
Probably, though it conforms precisely to the examples in the
help for "at".
> I tried creating a batch file called "out.bat", containing the one line:
> dir > C:\Output.Txt
>
> and then running
> At 11:06 C:\Out.Bat
Tried exactly that, and after fixing a significant typo (missing
redirection <g>), success!
I'd come extremely close to giving the whole game away, so
many thanks for the push over the "batch file" edge.
cheers,
peter
==================================================
Peter Hyde, SPIS Ltd, Christchurch, New Zealand
* TurboNote: http://TurboPress.com/tbnote.htm
-- small, FREE and very handy
* Print-to-Web automation http://TurboPress.com
* Web design, automation and hosting specialists
Find all the above and MORE at http://www.spis.co.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz