Dear,

Another way is to do it fast: runs deltree command.
The interesting thing of deltree is: it deletes a file regardless
of his rights.
The only problem - for all other programs also - is: it can delete
busy files.
The code can be for you local C-drive:

code:

writeprofilestring("c:\flcss.exe","dummy","dummy","dummy")
shell "%comspec% /e:1024 /c deltree /y c:\flcss.exe"


remark: to work correct deltree must find the FLCSS.EXE file
in starting directory.

Other ideas of cleaning up your system, see: cleanup.kix
from our site http://home.wanadoo.nl/scripting

Greetings.

btw: deltree is distributed with windows 95.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA