thumbs.db not able to delete  
Author Message
nitesh252002





PostPosted: Visual Basic General, thumbs.db not able to delete Top

i am doing codin in VB in which i am trying to delete a directory which is empty, RmDir command runs but shows path/access error, i fouind that it has a hidden system file thumbs.db . i am not getting how to delete it. is there any other command in vb which can delete such directory

in anticipation of yur view, nitesh




Visual Basic3  
 
 
Vojko Voga





PostPosted: Visual Basic General, thumbs.db not able to delete Top

try using Unlocker to identify who lock this file.

http://ccollomb.free.fr/unlocker/

Unlock it and this is it. :)

 
 
nitesh252002





PostPosted: Visual Basic General, thumbs.db not able to delete Top

Thanks Vojko, so kind of you, but it really didn't solved my purpose, i guess i was not able to explain my problem clearly,---- i am using rmdir command in vb to delete a directory, before this command i used kill command to empty it. now rmdir command is showinf path/access error, coz there is a hidden file thumbs.db in folder, it is a system file.i don't know how to remove it through code.

thanks



 
 
Vojko Voga





PostPosted: Visual Basic General, thumbs.db not able to delete Top

Try to change file attributes:
-system
-hidden

And then try to delete it.