TIP: Click on subject to list as thread! ANSI
echo: os2user-l
to: All
from: Herbert Rosenau
date: 2008-02-14 15:07:22
subject: Re: Delayed program start

Michael Andersson wrote:
> I have a printer server - Axis 540+ - in the network, to wich a HP
LaserJet 1200 is 
> attached. To make the printer server work, there is a program to run
at startup. I've 
> written a little batch file to start the program. The problem is, that
the program doesn't 
> do the job right, if Requester is not running and I have logged in.
Putting the batch file in 
> the startup folder does not work, probably because it tries to start
the program too 
> early.

For that I use startup.cmd.

Tat is
- start up peer services
- login
- net use remote resorces
- for some some apps or batches beloning on check a flag file
   on them and sleep a bit and continue the loop
   until the flag file exists

For sleeping I use a little program I found about 1993 named sleep.exe 
that does nothing than to give CPU away for the specified amount of 
seconds and thereafter dying itself.

-- 
Tschau/Bye

Herbert Rosenau                    eCS 1.2R Deutsch bestellen bei
EDV Beratung & Programmierung           http://pc-rosenau.de
Eichelsdorfer Str. 15                   http://ecomstation.de
97461 Hofheim i.UFr.               kostenlos surfen/telefonieren:
                                    http://pc-rosenau2.profiseller.de
Tel: 49-9523-502834
      49-9523-456312 (VoIP)
Fax: 49-9523-502823                     http://www.dv-rosenau.de/


 
Yahoo! Groups Links

 To visit your group on the web, go to:
    http://groups.yahoo.com/group/os2user/

 Your email settings:
    Individual Email | Traditional

 To change settings online go to:
    http://groups.yahoo.com/group/os2user/join
    (Yahoo! ID required)

 To change settings via email:
    mailto:os2user-digest{at}yahoogroups.com 
    mailto:os2user-fullfeatured{at}yahoogroups.com

 To unsubscribe from this group, send an email to:
    os2user-unsubscribe{at}yahoogroups.com

 Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)
SEEN-BY: 10/1 3 14/300 34/999 90/1 114/635 120/228 123/500 134/10 140/1 226/0
SEEN-BY: 249/303 261/20 38 100 1404 1406 1418 266/1413 280/1027 320/119
SEEN-BY: 633/260 262 267 285 712/848 800/432 801/161 189 2222/700 2320/100 105
SEEN-BY: 2905/0
@PATH: 3634/1000 12 123/500 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.