🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #32647

Re: Batch processing from GEM desktop?

#32647
From: Greg Wageman
Date: Mon, 23 May 1988 22:01
27 lines
1696 bytes
In article <3300004@hpcvmb.HP> jma@hpcvmb.HP (John Altendorf) writes:
>Is there any way to use the equivalent of a batch file from the GEM 
>desktop to allow the sequential execution of multiple programs simply
>by double clicking on a file icon?

Sure.  Write yourself a command interpreter.  Call it "batch.ttp".
Install this as a "TTP" type application, with file type of "bat".
Create your script of batch commands for this processor to read using
any text editor; call the result "file.bat".  Double-clicking on
"file.bat" will launch "batch.ttp" with "file.bat" as a command-line
argument.  Your batch program then parses its input file, pexec'ing
the programs named therein.  When each command completes in turn, it
reads the next line and repeats, until end of file, at which time it
exits.

"batch.ttp" shouldn't take more than a couple of hours to write and
debug.


Greg Wageman             	ARPA: greg%sentry@spar.slb.com
Schlumberger Technologies	BIX:  gwage
1601 Technology Drive     	CIS:  74016,352
San Jose, CA 95110        	GEnie: GWAGEMAN
(408) 437-5198            	UUCP: ...!decwrl!spar!sentry!greg
------------------
The opinions expressed herein are solely the responsibility of the
author.
Technical Details
Message-ID: <268@snjsn1.SJ.ATE.SLB.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!oddjob!ncar!ames!pasteur!ucbvax!decwrl!spar!snjsn1!bilbo!greg
References: <3300004@hpcvmb.HP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!oddjob!ncar!ames!pasteur!ucbvax!decwrl!spar!snjsn1!bilbo!greg
From: greg@bilbo (Greg Wageman)
Newsgroups: comp.sys.atari.st
Subject: Re: Batch processing from GEM desktop?
Message-ID: <268@snjsn1.SJ.ATE.SLB.COM>
Date: 23 May 88 22:01:20 GMT
References: <3300004@hpcvmb.HP>
Sender: news@SJ.ATE.SLB.COM
Reply-To: greg%sentry@spar.slb.com (Greg Wageman)
Organization: Schlumberger ATE, San Jose, CA
Lines: 27