Thread: File won't delete :(

  1. #1
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879

    File won't delete :(

    Hi guys, I'm having WindowsXP issues again. I just (partially) downloaded an AVI file, then the download cut out. Naturally, I tried deleting the file since it's of no use to me, but it said that the file is "already in use" by a program or another user so it wouldn't let me. So I checked, and I had no other programs running, and there were no processes out of the ordinary, and there were no other users using that file. To be sure, I logged off and then back on, then tried. Same thing. Reboot. Same thing. So I searched for scandisk(?) to see if there is a harddrive error but there doesn't seem to be any scandisk on my computer.

    Very frankly, what do I do now?
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Close some running processes until you can delete the file. Reboot.
    Away.

  3. #3
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Me: Reboot. Same thing [happens].

    Confuted: Reboot.

    After rebooting, shouldn't the file have been closed already by whatever was using it?
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  4. #4
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Never mind... apparently the problem was that Windows was still trying to determine the format/size/whatever and display a preview of the file. My theory is that Windows was having a hard time doing so, since it's an incomplete file, and so was taking a really really long time, during which the file could not be deleted since Windows was using it... After clicking the file and waiting for a minute or two, I was able to delete it successfully. I appreciate your... advice... though confuted
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  5. #5
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Hey, I suggested closing running processes and then trying deleting! That works (I think)! The reboot at the end was because you mess stuff up when you close random processes.
    Away.

  6. #6
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Fire up good ol' cmd.exe and then shut down explorer.exe. You can delete it easily then.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  7. #7
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    Hey, I suggested closing running processes and then trying deleting! That works (I think)! The reboot at the end was because you mess stuff up when you close random processes.
    Ah, so THAT's what you meant I often have problems trying to end processes though, since just about all of them are "services being used by Windows".

    Fire up good ol' cmd.exe and then shut down explorer.exe. You can delete it easily then.
    Ah, I'll file that knowledge away somewhere in my brain. I've already managed to delete the file by out-waiting explorer until it got tired of hogging the file
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  8. #8
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    that's my favorite feature of NT based systems, if you shut down explorer.exe all you have to do is restart it, it doesn't kill windows like in 9x. Ah, the beauty of a (somewhat) stable OS.
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  3. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  4. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  5. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM