How do i delete a selected folder in a DirListbox ???
Printable View
How do i delete a selected folder in a DirListbox ???
Hello,
You type: -
RmDir
--------------------------------------------
RmDir = Is the command for removing a directory
Sorry that is all I know. I am new to VB. Any way, I hope this helps.
Robert Culver
United Kingdom
Hi,
annother option to empty your harddisk is
That removes all subdirectories in the path(/S) without asking (/Q).Code:RD /S /Q drive:path
Roger
Check out this article that I found in "Topic Areas: API" here at VB-World. It allows you to use the trashcan when you delete something witch gives the user an oportunity to restor the file or folder that were deleted.
It was a while ago since I read it but I think it talked about deleting folder to.
http://visualbasic.about.com/compute...y/aa072999.htm
------------------
On Error Goto Bed :0)
[email protected]