Subj : DOS "sleep" utility To : mark lewis From : Don Guy Date : Tue Nov 27 2001 10:52 pm Greetings mark! A long time ago, in a galaxy far, far away, a coded message from mark lewis to Don Guy was intercepted... ml> it would seem that you don't simply want to delay/sleep for a time ml> but instead to actually wait for the other task to complete before ml> resuming?? Yes and no. :-) I'm attempting to mirror a REXX script with a DOS batch file, which loops until a semaphore has been cleared. :Top if exist FILENAME.EXT sleep(x) goto Top I could simply eliminate the sleep() function, but I'd prefer to avoid unnecessary CPU loading. -Don .... LISP: Lots of Infuriating & Silly Parenthesis --- * Origin: EI/2 [Carleton Place, Ontario, Canada] (1:249/176) .