I really need to delete and .exe file that I downloaded a while ago. I accidently transferred that file to my USB-device, to put it on another computer. Now, that file, which is broken, is on 2 computers and my USB device. But I really need to delete it, because it takes up lots of space, and my USB is useless when it's filled up by a broken file that can't be deleted. I have heard that it can be done when I'm starting the computer up, and it is still in DOS.
I hope you understand what I need, and tell me how to delete that file. (You can also tell me how to format the USB-thing, since it's the only file on it currently. By the way, I can't right-click on the device and select format - that won't work)
To get rid of the file on your USB Drive, follow these steps.
1. Goto Start; 2. Click 'Run'; 3. Type 'CMD (Windows XP), COMMAND (Other Window OS).; 4. Hit 'Ok' 5. Type 'format <drive letter here, see below.>:'; 6. Press 'Enter' to confirm; 7. Type a Volume name, or just hit 'Enter' to leave blank.; 8. Type 'exit'
To find drive letter, before you start just open My Computer and see what letter was assigned to the device.
As for the ones on the computer, im not %100 sure on DOS commands, i'll do some lil research and if i get an answer, i'll let you know here.
Ok i did some research and came across the command, follow these steps:
Before you start put the .exe file in your ROOT directory to make it easy, like C:
1. Goto Start; 2. Click 'Run'; 3. Type 'CMD (Windows XP), COMMAND (Other Window OS).; 4. Hit 'Ok' 5. At this point you should see something like: C:> on the left hand of the window. 6. Type 'Del <Filename.exe> see below; 7. Hit 'Enter'; 8. Type 'exit'
<filename.exe> is the .exe's name, now if its saying in use, im not sure what you can do in that sitiution, i believe you would have to start in safe mode, someone with more experince that side can help you, but have a shot.
I had a similar problem to this recently, if the post above doesn't work for you try this.
This assumes you are using WinXP. Restart your computer, after it has gone through it's BIOS startup, (the text that says things like "Press ESC for menu" or something similar) but before it displays the "welcome" screen press F8 several times. This should launch a menu that will give you various startup options. Choose "Safe Mode with Command Line".
Once the PC has finished it's startup you should be in DOS mode with a prompt saying "C:\" or something similar. Now comes the fun part, you need to navigate to the directory the file is in, if you followed the advice in the post above the file might be C:\ directory. If you didn't or you couldn't move the file you will need to find it.
I suggest you start looking in the "Documents and Settings" directory and work from there, most files seem to end up in there. To change to a different directory in DOS type the command CD directory name. For example to change to the "Documents and Settings" directory from the the C:\ prompt, type CD Documents and Settings. To go back a directory level type CD .. Once you find the file, type DEL filename.exe Once you have deleted the file, restart WinXP by typing EXIT and everything should be OK.
Hope that helps.
:EDIT: To view the files in the directory you are currently in, type the command DIR
I have had similar problems getting rid of files which are unable to be deleted off the hard drive and found a downloadable freeware program called "deletedr" which saved me having to do all of the above. The download is available from here. For files which are 'difficult', you might have to do a resart of your computer to ensure that the file is not 'in use' so the software can delete it, but this program has alsways managed to do the deed for me.
Now this is kinda really funny. I never knew that it is possible to delete a file which is in use.
Anyways, the procedure being explained by tuddy isnt really a way to delete a file which is in use. At least, not in Win XP. I have tried all those and it could not delete my file.
And BTW, does anyone in here know how to delete a windows file (4 winxp) that is in root:\WIndows\System32\dll cache. I have got this very stubborn file in there that is really messing up my OS. Actually, it isnt a windows file but it poses as one and I wanna remove it from there entirely.
Thanks for your Anticipated help. Hoping to hear from you all.
Okay, I managed to format the USB drive following the steps in the first post by tuddy. Thanks!
Tuddy, on your second post, you asked me to move it to the root of the disk. But moving a file in use is not possible
Anyway, I managed to delete it, because I downloaded it on a p2p-program, called Ares. Ares can delete the files, and it seemed to work when I deleted the file from the program... Strange...
And on my other computer, I used Delete Doctor, posted by jlhaslip. Thanks, it worked too
DO NOT FORMAT A USB DEVICE unless you know exactly what you are doing. Some USB devices are not formatted with FAT, FAT32, or NTFS. Because of this the format command causes error.
Also to delete a file "in use" There are a couple of ways
1) DOS Press Start>>Run Type cmd and press enter
now in Win XP press CD ..\.. or, on something else Press CD ..\..\..\..\.. until you see a prompt C:>
Next, if the file is on the c: drive, then skip this step: right click on the file you want to delete and find out what path it is in Example: c:\whatever\whoha\yyy.html now type CD whatever\whoha\ then type XDEL yyy.html *.txt (XDEL is a takeoff of XCOPY, if you don't have it, you can type DEL yyy.html) now type DIR yyy.html \h and see if anything shows up.
2) Windows Click on the file and type SHIFT + DELETE This deletes the file without sending it to the recycle bin. Sometimes this works
2b) Windows XP type CTRL+ALT+DELETE go to processes right click on explorer.exe click on end process tree click yes end all programs you have open now click on file>>new type in cmd type in cd ..\..\..\ now type in XDEL <your_path_here> type yes or Y
2c) Safe mode do the same thing as 2b, but boot up in safe mode (ending explorer can be more dangerous in certain modes)
3) Software Mine, or other software can do this
4) Other ways that you would only understand if you actually knew the answer to your own problem (as it shows a certain level of computer use)
Personally, I CTRL+ALT+DELETE to open up Task Manager and look through the currently running processes to see what might be using the file that is currently "in use". Although, I'd imagine rebooting or rebooting inside of safe mode mya laos prevail as a method of deleting the file in question to reassure it is not in use.
actually there is a more safer way to delete unwanted files or folder that is being use without doing the regedit,etc,etc...just use the software call unlocker (i believe the newer version is 1.81) it's a freeware...just do a search in google with the keyword unlocker..
Im afraid to say that this software only support windows xp,2000, 2003.
what this software can do is:
Cannot delete file: Access is denied There has been a sharing violation. The source or destination file may be in use. The file is in use by another program or user. Make sure the disk is not full or write-protected and that the file is not currently in use.
right click mycomputer -click manage -click storage -disc management (local) find the disc on there right click again and format
as for the one on your computer turn off the computer boot up and boot in safemode press f10 i think to get that screen log in normaly and stuff and delete the file it wont give you a problem if it does i dont know what to do...
ThnX for the Explained Informations Guys! It really helped me answer my questions actually! I sometimes wondered if we could actually Stop a running program, which i couldn't do... actually.. But with you guys responses i learned a lot about stopping it..Once again ThnX guys! Good Work!
I believe there are applications that allows you to view all the processes that are running on your computer and Stop the ones you need,
O yea ,infact that function is built into winxp u just have to press CTRL + ALT + Del, and it brings
up Windows task manager, from there you can View the process/programs running on your pc and choose
which one you want to end,
They are also freeware and commercial applications aviable that can give you more control when it comes to ending a running progrmas..do a google search for process killers.
ThnX for the Explained Informations Guys! It really helped me answer my questions actually! I sometimes wondered if we could actually Stop a running program, which i couldn't do... actually.. But with you guys responses i learned a lot about stopping it..Once again ThnX guys! Good Work!
This is only for Windows Operating System. QUOTE First: Take note and copy the filename of
that problematic file including the extension name, if you are not aware of the extension name, open
My Computer, at the top menu click on Tools, then Folder Options, go to View Section and uncheck
“Hide Extensions for known file types”. Click Apply and OK to exit, you should now see
the whole filename. Now, open Notepad then create a file, you don’t need to put anything on
it, save it with a filename that is the same as the undeletable file in a different ....
Back in the early days of the internet online file storage was a great idea. But now a days with USB
drives, larger hard drives, and faster internet access, who really needs online storage? Besides
the fact that even if a company offers it to you, what protects you as a user from them stealing
anythign you put up there, or how do you know that the company is even going to last long enough for
you to benefit from it's service? ....
Ok i recieved an error on word saying The Microsoft Office open XML file ***********.doc can not
be opened because there are problems with its contents I got a reply from someone on a microsoft
forum saying i should open it in win zip. I have done that and i can open the xml files but it is
still in xml coding, is there any way i can open the xml so it is viewed insted of seeing the code.
When i try and open it in internet explorer i get this error: QUOTE The XML page cannot be
displayed Cannot view XML input using style sheet. Please correct the error and then ....
now have you ever wondered what happens to a file when you delete it and empty the recycle bin ?
surely it should not be in the computer by then ?? well i ahd a big sprise waiting for today morning
when i turned on my computer , i will tell you waht happened , yesterday a colleague of mine put sum
flash files on my desktop and when i went home i deleted them and emptied recycle bin assuming he
should have made a copy and has taken to his computer , but when i turned on my office computer this
morning the files i deleted were sitting right on my desktop again !! b....
Dear Friends This is a free fileupload script written in ASP. I found this script a few month back
on internet. So I just want to share it with u. You are requested to leave the copy rights Intect
QUOTE freeASPUpload.asp---FILE NAME
_________________________________________________________________________________________ '
For examples, documentation, and your own free copy, go to: ' http://www.freeaspupload.net
' Note: You can copy and use this script for free and you can make changes ' to the code,
but you cannot remove the above comme....
ive been tryin to install new fonts into my fonts folder so i can use em for my photoshop adobe
program. but when i did that it didnt work so i tryed takn the fonts that i installed back out but
the thing is...i dont know what were the new that i just installed into my folder...i try changn the
arrangement into the date the files were modified or w.e but they all had different dates pretty
much so i guess i was screwed there...so stupid lil me tried just takn all the fonts out lol so then
my computer wus REALLY messed up...so i immediately shutdown my coomputer n had my ....
i need to download a huge file then re upload it to my server does anyone know if i can just
transfer it straight over frew ftp without having to download it then reupload it.......
Open a command prompt window and leave it open. Close all open programs. Click Start, Run and
enter TASKMGR.EXE - go to the Processes tab and End Process on Explorer.exe. Leave Task Manager
open. Go back to the Command Prompt window and change to the directory the AVI (or other undeletable
file) is located in. At the command prompt type DEL where is the file you wish to delete. Go
back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell. Close
Task Manager. Jack.....
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE
forum, Create your own topics, Ask Questions, track topics, setup
subscriptions & notifications and Get a Free Website w/ Email and FTP.