Deleting dos files - how (None Specified)
At 23 NOV 1999 10:51:43PM Barry Stevens wrote:
In AREV I have:
pcexecute "DEL F:\":OrderNo:"*.*"
how do I do this in OI…if API then code pleezze
Barry
At 24 NOV 1999 03:54AM Oystein Reigem wrote:
Barry,
Simple. Use OSDelete. For details see Reference.
- Oystein -
At 24 NOV 1999 07:16PM Barry Stevens wrote:
Shucks…talk about woods and trees.
Now I will change my AREV app
Dis not know that command existed.
Barry
At 24 NOV 1999 07:28PM Barry Stevens wrote:
Tried it, BUT, OSDELETE wont do wild card delete.
So, back to original question.
How do wild card delete of dos files in OI.
Barry
At 24 NOV 1999 08:15PM Donald Bakke wrote:
Barry,
You can use the InitDir and DirList statements to create a list of files based on any wild card specification and then just loop through one at a time calling OSDelete.