PDA

Click to See Complete Forum and Search --> : Delete selected folder


CyberCarsten
Jan 2nd, 2000, 05:56 AM
How do i delete a selected folder in a DirListbox ???

Jan 2nd, 2000, 06:11 AM
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

RogerH
Jan 2nd, 2000, 07:19 PM
Hi,

annother option to empty your harddisk is


RD /S /Q drive:path


That removes all subdirectories in the path(/S) without asking (/Q).

Roger

onerrorgoto
Jan 2nd, 2000, 08:02 PM
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/visualbasic/library/weekly/aa072999.htm

------------------
On Error Goto Bed :0)
anders@zsystemdesign.se