Results 1 to 4 of 4

Thread: Delete selected folder

  1. #1

    Thread Starter
    Frenzied Member CyberCarsten's Avatar
    Join Date
    Sep 1999
    Location
    Aalborg Ø, Denmark
    Posts
    1,544

    Post

    How do i delete a selected folder in a DirListbox ???


  2. #2
    Guest

    Post

    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

  3. #3
    Lively Member
    Join Date
    Dec 1999
    Location
    Karlsruhe, Germany
    Posts
    122

    Post

    Hi,

    annother option to empty your harddisk is

    Code:
    RD /S /Q drive:path
    That removes all subdirectories in the path(/S) without asking (/Q).

    Roger

  4. #4
    Hyperactive Member onerrorgoto's Avatar
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    330

    Post

    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]



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width