...
To iterate through the files on a machine and attempt to delete each file (if the delete operation fails, UDM breaks out of the loop):
Panel |
---|
Html bobswift |
---|
<pre>
forfiles local=*
delete $(_path)
if $(_lastrc) NE 0
print msg="Failed to delete $(_path)"
break
end
end
</pre>
|
|