CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Nov 2005
    Posts
    14

    Removing a directory in windows( When a file already opened from that directory)

    Hi,
    I can able to remove the files and sub directories and the diectory also.
    But is it possible to delete a directory when any one of the files of that opend.

    Generally if we try manually to delete a folder, when a file opened from that directory, windows throw an err as " can not delete <dirName> : It is being used by another person or program".

    Can we manage this error in coding and can delete the directoty.
    Please let me know


    Thanks in Advance.

    Sri
    Attached Images Attached Images

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

Featured