A VB6 problem and strange thing
Hello, I am using WinXP Home. I am creating an application in VB6 and this is my problem:
There is an sample folder with a file that I created.
Let it be C:\folder\file.txt
Then I run the command
kill ("C:\folder\file.txt")
followed by
rmdir(C:\folder)
The problem is that only the file is removed, the folder stays there. Also why is that all the folders in my computer is set to read-only attribute (when I check the properties of the folder, the Read-only attribute is checked and the box "appeared" to be disabled althought not).
Then I code another app with only the rmdir command and it did remove the directory.
Can anyone help me out...