Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: trouble deleting a file  (Read 3342 times)

0 Members and 1 Guest are viewing this topic.

Compucurious

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Unknown
    trouble deleting a file
    « on: December 18, 2010, 07:14:01 PM »
    I'm trying to delete a folder containing Photoshop files from a thumb drive. Whenever I try to delete these files I get a mssg saying the file can't be deleted because it is being used by another program. No other program is open now. Why am I getting this msg and what do I do to delete them?

    jason2074



      Egghead

    • It doesn't matter.
    • Thanked: 224
    • Experience: Beginner
    • OS: Windows 7

    Azzaboi



      Apprentice
    • Aaron's Game Zone
    • Thanked: 37
      • Aaron's Game Zone
    • Experience: Experienced
    • OS: Windows 7
    Re: trouble deleting a file
    « Reply #2 on: December 18, 2010, 10:32:10 PM »
    Would be interesting to find out why they are in use?
    It might be a third party application, OS loading/displaying the thumbnails, or just the OS taking ages to index them (if there's a lot). Just make sure it's not an autorun virus on the drive.
    Aaron's Game Zone
    The best free online flash games: http://azzaboi.weebly.com

    Play Games - Play free games at Play Games Arcade

    Compucurious

      Topic Starter


      Newbie

      • Experience: Beginner
      • OS: Unknown
      Re: trouble deleting a file
      « Reply #3 on: December 19, 2010, 05:14:59 PM »
      Jason, I tried to download the unlock app from the link you gave me, but all I got was offers for other programs. I tried searching for this program on the web, but I can't seem to find it. Any ideas?

      Frankfoley



        Starter
      • Have Fun
      • Thanked: 1
      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 7
      Trouble deleting a file
      « Reply #4 on: December 19, 2010, 06:09:16 PM »
      1)  kill the task blocking you and then delete the file
      or
      2) Do a F8.  The task blocking you might not load
      then  del /f  file  from the command line

      C:\test>tasklist

      C:\test>taskkill  /?

      TASKKILL [/S system [/U username [/P [password]]]]
               { [/FI filter] [/PID processid | /IM imagename] } [/T] [/F]

      Description:
          This tool is used to terminate tasks by process id (PID) or image name.



          /PID  processid        Specifies the PID of the process to be terminated.
                                 Use TaskList to get the PID.

         
          /F                     Specifies to forcefully terminate the process(es).

          /?                     Displays this help message.


      Examples:
          TASKKILL /IM notepad.exe
          TASKKILL /PID 1230 /PID 1241 /PID 1253 /T
          TASKKILL /F /IM cmd.exe /T
          TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"
          TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe
          TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM *
          TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*"

      C:\test>
      « Last Edit: December 19, 2010, 06:27:13 PM by Frankfoley »

      lunchbox



        Rookie

        • Yes
      • Experience: Experienced
      • OS: Windows 7
      Re: trouble deleting a file
      « Reply #5 on: December 19, 2010, 07:33:23 PM »
      Use unlocker software.

      Frankfoley



        Starter
      • Have Fun
      • Thanked: 1
      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 7
      Trouble deleting a file
      « Reply #6 on: December 19, 2010, 07:52:02 PM »
      If the suggestions in reply #4 did work, shutdown the task blocking "the deletion of the file" at boot time.

      start, run [ msconfig ], click the startup tab and disable [ ] the task blocking the deletion of the file.

      good luck

      jason2074



        Egghead

      • It doesn't matter.
      • Thanked: 224
      • Experience: Beginner
      • OS: Windows 7
      Re: trouble deleting a file
      « Reply #7 on: December 19, 2010, 08:14:49 PM »

      Broni


        Mastermind
      • Kraków my love :)
      • Thanked: 614
        • Computer Help Forum
      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 8
      Re: trouble deleting a file
      « Reply #8 on: December 19, 2010, 08:24:21 PM »
      Download, and install Unlocker: http://ccollomb.free.fr/unlocker/
      Restart computer.
      It'll install under right click menu.

      Open Windows Explorer.
      Navigate to offending folder/file.

      Right click on a folder/file. Click Unlocker
      Select Delete from drop-down menu:



      Click OK.
      A folder/file will refuse to be deleted, but Unlocker will give you an option to delete on reboot:



      Click Yes.
      Restart computer.

      ==============================================================

      If the above doesn't work, try...

      LockHunter: http://lockhunter.com/

      FileASSASSIN: http://www.snapfiles.com/get/fileassassin.html

      Allan

      • Moderator

      • Mastermind
      • Thanked: 1260
      • Experience: Guru
      • OS: Windows 10
      Re: trouble deleting a file
      « Reply #9 on: December 20, 2010, 05:46:28 AM »
      Guys - when you provide a link to download software try to give the link for the software provider (as Broni did) rather than a 3rd party site. Thank you.