Page 3 of 3 FirstFirst 123
Results 41 to 43 of 43

Thread: How to erase all the files and folders in the Selected existing directory

  1. #41
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 541 Times in 521 Posts

    Default Re: How to erase all the files and folders in the Selected existing directory

    One more thing:
    Make sure there isn't any browser opened on any of the directories you're trying to delete.
    Actually, close all the browsers(file system browsers) and run the program.

    Regards

  2. #42
    Join Date
    Jan 2007
    Posts
    326
    Qt products
    Qt4
    Platforms
    MacOS X
    Thanks
    42
    Thanked 1 Time in 1 Post

    Default Re: How to erase all the files and folders in the Selected existing directory

    Thanx Marcel

    It works....

    But tell me one thing

    It deletes all the files and folders that are created by me at that time only..

    If i delete directories that are already existed , in that case it deletes files only and not folders , Is it that I dont have permission for deleting the directories.

    Thanx
    Always Believe in Urself
    Merry

  3. #43
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 541 Times in 521 Posts

    Default Re: How to erase all the files and folders in the Selected existing directory

    Depends on what you need the program.
    Usually these programs must be executed as root, with full privileges.
    If your application runs under a normal user and creates some directories in your home folder, then it can delete them. I don't see any reason why it would fail.

    Regards

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.