I just ran your code on my machine and it worked for me. check the write permission on parent directory of Abs
if still not work then use system("/usr/bin/rm -rf Abs"); -Paresh. At 03:54 PM 5/3/2002 -0500, Aman Raheja wrote: >I have a directory "Abs" with a file "abc" in it. >I am using rmtree to rm this dir as follows > >use File::Path; >rmtree("Abs",1,1) or die "dir not del"; >print "done"; >---- > >The output is > >unlink ../htdocs/store/newpages/Abstract/abc >---- > >It neither prints the die statement nor the done - ofcourse it doesn't >actually delete the file and the dir at all. > >Do let me know if there's an alternative to deleting directories recursively. >HELP will be greatly appreciated. >Thank you >Aman > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]