Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SubDirectory Deletion

    I have a sub-directory that I can not delete. I've tried deleting it within Explorer, using the Shift-Del key and even tried it through "cmd". The error message returned is "The source file may be in use". One other thing, there are no files within the sub-directory.

    Does anyone have any suggestions?

    Thanks,
    John

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: SubDirectory Deletion

    What folder and complete path is it?

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Location
    Yorkshire, England
    Posts
    82
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SubDirectory Deletion

    http://support.microsoft.com/search/previe...b;en-us;Q243514 gives the following

    Cannot delete Foldername : Access is denied. The source file may be in use.



    CAUSE
    This behavior occurs because the Recycle Bin does not understand mounted volumes. For example, assume that the following drive layout is in use:

    C: -- 1-gigabyte (GB) drive using the NTFS file system
    C:Host-dir -- The mount point for a separate 9-GB drive
    When you try to delete a folder with the path C:Host-dirMydir, Windows Explorer interprets the folder as being on drive C and tries unsuccessfully to place it in the Recycle Bin on drive C.

    RESOLUTION
    To work around this issue, use either of the following methods:

    When you delete the files or folders by using Windows Explorer, use the SHIFT+DELETE key combination. This bypasses the Recycle Bin.

    Open a command prompt windows and use the rd /s /q command to delete the files or folders.


    NOTE : Both of these methods permanently delete the data. You cannot recover the data unless you have a current backup.
    *************************
    I get this problem regularly but this mounted volume thing doesn't make much sense. I just leave it and try deleting later - sometimes 5 min , sometimes after a reboot and they delete fine. Next time I'll try shift+delete and see if that does it.

  4. #4
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: SubDirectory Deletion

    Dave,

    The complete path is as follows:
    E:HometempAPPAPP2ArcplanAPPDaily2

    Thanks,
    John

  5. #5
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: SubDirectory Deletion

    I think the KEY word here is TEMP. Windows may think that this is in fact in use.

    Also this E drive is on the machine that you are logged in as the Administrator?
    Or is this Mapped as the E drive on the local machine but on another machine?

    The Home folders are normally owned by the account logged in. If you are not on the machine the this "Home" folder resides and not the owner you may not be able to delete it. But if you login on the machine that this folder is on as administrator your should be able to delete it.

    When I say Administrator, I mean "The Administrator" account and NOT a account with Administrator permissions <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15> Also make sure that the other accounts are logged out and NOT have used the "Switch User" method, this will NOT release and in use files or folders <img src=/S/devil.gif border=0 alt=devil width=15 height=15>

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

Posting Permissions

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