Date: Wed, 30 Apr 1997 16:53:23 -0700 From: Mark Wladika To: ann@href.com Subject: StartUp Pauses Ann, After looking at setting up batch files for starting up our main webhub server, I decided I needed a flexable database-driven startup utility and I wrote it in delphi of course. It's pretty basic, but I'm sending it to you, with source, so that if you think it would be useful to Hubbers you can put it up on the site. Following is the readme; Mark's little start-up thing, 1) All paths in the database that have active=true will be started when the 'Say Go' button is pressed, or if the exe is passed arguments in the command line (see 4) The ID is keyed so that number sets the order of startup. 2) You can add a path using the drive/directory/file list boxes, select a file a hit 'add current exe'. This is filtered for .exe, but you can change that if you want. There is no real error trapping here, so its up to you to make sure these are valid executables. 3) The execution will pause a given number of seconds between each application it starts. Right now its defaulted to 4 seconds, but you can change that with passed arguments in the command line or with the updown dial. (or in Edit1.text) 4) Command Arguments: StartProj.exe Start plain StartProj.exe r Starts & runs the exes StartProj.exe rs Starts & runs the exes & shuts down StartProj.exe rs x This sets the pause to x seconds (make sure x is a real integer) Mark Wladika KnowledgeWeb, Inc. ________ TechCalendar ________ http://www.techcalendar.com ________ Astrology.Net ________ http://astrology.net 9 Laurel Place, #7 San Rafael CA 94901 USA Tel: 415 485 5508 Fax: 415 721 2471 E-mail: markw@kweb.com ______________________________