Macro Language Reference > Macros > System > diskwarn
  
diskwarn
Description
Checks the amount of hard disk space available (on DOS systems only) and alerts the user if this is lower than the preset space limit. Since the space check is only run during PTC ALD idle cycle it is relatively quick, especially with cached drives. There is no advantage in increasing the delay before testing; it will only increase the chances that a potentially critical situation goes unnoticed.
Syntax
diskwarn space:n? ( delay:n? )
space
The minimum amount of space (in kb) left available on a disk before a warning message is issued.
delay
The delay in 'idles' (the number of times PTC ALD automatically issues an idle macro) before space available is checked by PTC ALD