|92h||FL$WDEL||wildcard file delete|
|Input||X register - Address of filename (leading
UTW_S0 - address of user routine - 0000 for no routine.
|Output||- none -|
The file name at X is a leading byte count string of the form <device>:<name>.<ext>. The following wild cards are allowed in <name>:
* match any number of any characters.
and <ext> is either ".*" or any of the following file extensions:
UTW_S0 contains the address of the user's routine to be called for each file deleted, e.g. to print file names. When it is called, X reg will point to the filename and A reg will have its file type.
This call is not available on CM/XP machines.
To delete all OPL procedures beginning with "X" from B:
LDX #MATCH_STRING OS FL$WDEL BCS ERROR RTS MATCH_STRING: ASCIC "B:X*.OPL"
|Errors|| 194 - battery too low
200 - read pack err
234 - file not found
236 - bad file name
240 - unknown pack
241 - pack not blank
243 - bad device name
244 - read only pack
245 - write pack err
246 - no pack