OS4 DepotLogo by Nickman 
(anonymous IP: 216.73.216.6,2451) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (347)
   o Datatype (51)
   o Demo (204)
   o Development (617)
   o Document (24)
   o Driver (100)
   o Emulation (154)
   o Game (1034)
   o Graphics (513)
   o Library (119)
   o Network (237)
   o Office (67)
   o Utility (947)
   o Video (73)

Total files: 4487

Full index file
Recent index file

 Links

  Amigans.net
  Aminet
  IntuitionBase
  Hyperion Entertainment
  A-Eon
  Amiga Future


Support the site


 Readme for:  Utility » Script » waitfile.lha

waitfile

Description: waits for a specified file
Download: waitfile.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 6kb
Version: 1.0
Date: 07 Mar 2026
Author: Lorence Lombardo
Submitter: Lorence Lombardo
Email: lorylombus/gmail com
Homepage: http://geocities.ws/lorylomb/
Category: utility/script
License: Public domain
Distribute: yes
Min OS Version: 4.0
FileID: 13730
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Architecture: m68k-amigaos; ppc-amigaos; ppc-morphos


 waitfile 1.0 (c) 2026  Lorence Lombardo.

?

"waitfile" waits for a specified file without sucking the guts out of
your CPU since checks are made in every one tenth of a second intervals.

It is currently believed that using "waitfile" in your DOS script
is superior to doing it entirely with the DOS script.

So "waitfile" would replace the following:-

lab top
if not exists WinDH_C:WinUAE/winuae_dll/T/FFinfo
   c:wait 1
   skip back top
endif
c:wait 1

with:-

c:waitfile WinDH_C:WinUAE/winuae_dll/T/FFinfo

.

Of coarse "waitfile" can be aborted with a Ctrl-c if your file
decides to not show up.

"waitfile" has been tested on 68k and on the native sides of WinUAE
and AmiBerry when waiting for redirection files.

The "bonus" directory contains some examples of using "waitfile".

NB:  Zero byte files do not count.


Standard disclaimer:-

If you decide to use this material you do so at your own risk.

 
Related URL's:-

http://geocities.ws/lorylomb/file_ab.txt
http://geocities.ws/lorylomb/file_ab.lha 
http://geocities.ws/lorylomb/mms_68k_uae.txt
http://geocities.ws/lorylomb/mms_68k_uae.lha



Copyright © 2004-2026 by Björn Hagström All Rights Reserved