By using the DEL command it may hang when your file is open. At that point ou must have the capability of entering the correct answer.
For our situation this message will be showing in a hidden dos box. So you don't know where the script is waiting for and you can't enter a character in a hidden box.

The problem exists for Windows 9x systems. By Windows NT you will get the following message:

code:

The process cannot access the file because
it is being used by another process.

deltree can also be used for an individual file.
Greetings.

_________________________
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