{{tag>category:"None Specified" author:"Barry Stevens" author:"Oystein Reigem" author:"Donald Bakke"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== 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.
dbakke@srpcs.com
[url=http://www.srpcs.com]SRP Computer Solutions[/url]
[img]http://www.srpcs.com/srpicon1.gif[/img]
----
=== At 24 NOV 1999 09:38PM Barry Stevens wrote: ===
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=F80B40F338B4DB6E85256833001536EE|View this thread on the Works forum...]]