bill@hpcvlo.UUCP (09/29/87)
I see that someone out there is writing an AT utility. Here's something similar I wrote a while back that some of you might find useful. It's vaguely similar to the Unix AT scheduler, and is used to schedule programs, batch files, or DOS commands at some absolute or relative time/date. You can schedule up to 20 different events; commands are fired off only when your system is waiting for a new command at a command shell prompt. This program is a TSR; it will go away when you power off or reboot your computer, thereby losing any pending command schedule (it's kept in the resident RAM). When initially installed, AT tries to learn when it's appropriate to issue commands -- it will probably get confused if you install a command editor (like CED or DOSEDIT) on top of COMMAND.COM. The program has been used without any problem on a PC-AT and an HP Vectra. I haven't really tried it on anything else, but it's pretty generic code so there shouldn't be any trouble. Type "AT" with no parameters for more help. <---------------------------- cut here --------------------------------> begin 777 at.com MZ?H'050@6S@O,C8O.#==("AC*2 Q.3@W($)I;&P@1G)O;&EK M "P! L 0 + $ "P! L 0 + $ M "P! L 0 + $ "P! L 0 + $ M "P! L 0 + $ "P! L 0 + $ "P! M L 0 + '__\8! M M M M M M M M M M M M M M M M M M M M M M M M M M M 'HS(CL#\@_G_= 7HEP#K"H/Z_W0%CMCH"0",RX[#NS8!'\.+VH"_-@$! M=0/H @#XPU!15E<&_(L^- & /0!U!L<&- $L 0X'B[\[ 8OWK(3 =?N+SBO/ M^E=1N78&*\[C O.D65\S]CD^- %V!"D.- & O#8!_W0/.;P[ 78$*8P[ 8/& M!^OJQH<V 0#'ASL!+ ''AS<! #'ASD! #[!U]>65C#43/;)H"_-@$ ?$ET M!8/#!^OQB\ZLA,!U^ROQA_&X=@8F*P;$ 3O(<RLFBS[$ 8/Y 70>6% FB8<W M 2:)ESD!)HF_.P$FQH<V 0'SI":)/L0!G?C#G?G#'QP?'A\>'Q\>'QX?4%-6 M'@X?_PXD 7AN=7*A)@&+'B@!BS8I 8'F_P#^P#P\<BJP /[$@/P8<B&T /[# M.IQQ!W87LP'^QX#_#'8.MP'_!BH!4*$J >CU EBC)@&)'B@!,_: O#8!_W0= M@+PV 0%U$3N$.0%U"SN<-P%U!<:$-@$"@\8'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]$1"!O<B!$1"Y-30T*(" @(" @9F]R;6%T+B @3F]T92!T:&%T M(&$@>65A<B!M87D@;F]T(&)E('-P96-I9FEE9"X-"G1I;64@(&ES('-P96-I M9FEE9"!I;B!H;W5R(&%N9"!M:6YU=&5S+"!R=6X@=&]G971H97(@;W(@;W!T M:6]N86QL>0T*(" @(" @<V5P87)A=&5D(&)Y(&$@8V]L;VXN("!!;B G86TG M(&]R("=P;2<@;6%Y(&)E(&%P<&5N9&5D('1O('1H92 -"B @(" @('1I;64@ M<W1R:6YG.R!A('!L=7,@<VEG;B!S:6=N:69I97,@=&EM92!R96QA=&EV92!T M;R!T:&4@8W5R<F5N="!T:6UE+@T*"E-C:&5D=6QE9"!C;VUM86YD<R!A<F4@ M;VYL>2!I<W-U960@=VAE;B!Y;W5R('-Y<W1E;2!I<R!W86ET:6YG(&9O<B!Y M;W4-"G1O(&5N=&5R(&$@1$]3(&-O;6UA;F0@870@=&AE(&-U<G)E;G0@8V]M M;6%N9"!L979E;#L@86YY(&]T:&5R(&%C=&EV:71Y#0IP;W-T<&]N97,@8V]M M;6%N9"!E>&5C=71I;VXN("!!;F0@<F5M96UB97(Z('1H92!S8VAE9'5L92!G D;V5S(&%W87D@870-"G!O=V5R+6]F9B!O<B!R96)O;W0N#0H end <---------------------------- cut here --------------------------------> Bill Frolik hp-pcd!bill Hewlett-Packard Portable Computer Division Corvallis, Oregon