Click to See Complete Forum and Search --> : Force directory removal
svenhag
February 28th, 2005, 06:46 AM
I was wondering if there's any way to force the removal of a directory. Say that you create a dir called test and open the file test/test.txt. Now if you try to remove the dir test you will get an error saying that another process is using this dir and that it can't be removed.
Any solutions are welcome.
Andreas Masur
February 28th, 2005, 06:51 AM
Well...think about it...how should that be possible? If the file is still open, it would be like removing the floor you are just walking on...
svenhag
February 28th, 2005, 07:13 AM
I agree, it's not very nice to remove the floor when someones on it but it's still not impossible. There ought to be some way to really force the dir to be removed.
Andreas Masur
February 28th, 2005, 07:17 AM
There ought to be some way to really force the dir to be removed.
Well....I wouldn't know any....
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.