Testa and test2 are folders right? If they are you need to use RD and not Del. Del looks for a file called test1 or test2 in the folder c:\test\ and deletes it if it is there.

Edited by Mart (2008-02-05 03:35 PM)
Edit Reason: typo
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.