Deprecated tag, don't use.

learn more… | top users | synonyms (2)

196
votes
17answers
171k views

How to delete directories with path/names too long for normal delete

Windows seems to have a length limit on file names when trying to delete, though it won't prevent those files from being created. Our build process creates a number of temporary files (many build off ...
54
votes
5answers
186k views

How do I get permissions to delete files on Windows 7?

I updated my laptop's OS from Windows XP to Windows 7. There are some leftover files from Windows XP on the computer now. If I try deleting them I get the following error: You need permission to ...
12
votes
7answers
16k views

Can't delete folder in Windows 7

I'm trying to delete a folder in Windows 7 and get a perplexing error message: "Could not find this item: This is no longer located in G:\Graphics. Verify the item's location and try again. I can ...
27
votes
11answers
159k views

How to delete files and folders that cannot be deleted?

I have a backup copy of a previous Windows' Documents and Settings folder which only contains my original user and within 2 more directories: Favorites and Local Settings. When I try to delete Local ...
11
votes
5answers
10k views

How to delete (invalid) files with colon in their name under Windows?

I've got a rather large number of files on my Windows drive that have a colon in their name. (These came from unpacking some Unix archives.) When I try to delete them, Windows (XP) complains that ...
51
votes
17answers
68k views

How do I delete a folder which is nested quite deep and avoid “File name too long”?

Eclipse created a temp folder in one of the directories which is nested quite deep, e.g. dir1\dir1\dir1\dir1\... I am unable to delete this folder in Windows via Explorer, the del or rmdir commands,...
12
votes
3answers
15k views

How to secure delete file or folder in windows? [closed]

How do I securely delete (i.e., permanently delete) a file and/or folder in Windows? Secure in terms that the deleted file/folder can not be restored. Can you recommend any free or open source tool?
10
votes
4answers
20k views

How do I delete Windows.old in Windows?

I used to run Windows 7 32 bit, but installed the 64 bit version because of a RAM upgrade. During the installation I got this message: The partition you selected might contain files from a ...
5
votes
4answers
14k views

Windows 7: File In Use when deleting file [duplicate]

Possible Duplicate: How do I delete a 'locked' file? Trying to delete a file, and I get an error saying that the file is in use. I've tried to look for it in the Resource Monitor (Disk)...
5
votes
5answers
3k views

Deleting Windows.old folder?

I have recently re-installed my Windows 8 Release Preview, and it has left a Windows.old folder in my C Drive. I am trying to delete this folder, but I am getting lots of errors: After ...
103
votes
8answers
192k views

Can I delete the folder “C:\WINDOWS\Installer\$PatchCache$”?

This folder is taking up nearly a GB of my C partition. Is it possible to just delete it?
10
votes
3answers
10k views

How to delete file with this name on linux: -]???????q

Somehow a file named -]???????q got created on my terminal. I tried rm -f "-]???????q" (in double quotes), but it did not get deleted. (Error:: rm: invalid option -- ]). How do I delete it?
17
votes
3answers
15k views

How to delete an invincible 0 byte file?

I have a file whose size is 0 bytes. When I try to remove it an error message appears, saying "Could not find file". Here is the list of things I've tried to delete the file: Rebooted Reset folder ...
34
votes
15answers
46k views

Permanently delete files from a flash drive

I heard some people mention that files are deleted from flash drive for good, there is no tracing back. Is that really true? If not, how do I permanently delete files from it? I have a sensitive ...
17
votes
3answers
13k views

Automatically deleting old files from recycling bin while keeping the new ones?

I want an explorer add-on which will delete old files from recycling bin after a time period. For example, I want to set the time limit to 30 days. When I delete a file in Windows, the software will ...
3
votes
5answers
10k views

Deleting folders give access denied error message on Windows 7, although I am administrator

I have an external hard drive that was used as a Windows partition before, but now I want to use it for storage instead. I have added it to my Windows 7 machine, but I am not allowed to write or ...
4
votes
4answers
3k views

Can't delete folder. Infinitely looped folders created within each other

My flex builder somehow decided to create infinite folders within folders and crashed itself. Now windows cannot delete the folder, saying the file name is too long. Even Unlocker can't delete it. ...
2
votes
3answers
622 views

Windows 7 can not delete a file - file in use [duplicate]

Possible Duplicate: Windows 7: File In Use when deleting file I searched via google and saw that many people have this problem but no definite problem. It says it is in use with explorer but ...
2
votes
4answers
2k views

Folder cannot be deleted

I am using Windows XP Home Edition. When I try to delete a folder I have named cygwin. When I try to delete it or any file or folder within it, there is a long pause, and then an error pops up, saying:...
66
votes
12answers
6k views

What command do I need to use to remove a file called `-rf`?

I did something crazy at some point that created a file called -rf on my filesystem. Now I can't figure out how to delete it... I've tried: rm "-rf" rm \-rf These just exit immediately, arrgh! ...
11
votes
5answers
10k views

How do I trim my Time Machine backups and find and exclude frequently-updated large files from bloating it?

Time Machine is nice because it Just Works and it does its magic in the background. But left to itself, it can really swell up due to either large files that you don't really need backed up slipping ...
8
votes
3answers
12k views

Deleting large amount of files in Windows is slow

I have a Windows XP box with an NTFS disk and deleting large amounts of files is extremely slow. If I select a folder that contains a large number of files in a tree of folders and delete (using shift-...
7
votes
5answers
13k views

How to delete a file that contains spaces in the file name?

I have a file with this name "Registering wrong app ", there are a few spaces in the file name, now I can't delete it, it won't even let me change file name, I also tried to delete it from my Java ...
6
votes
3answers
12k views

Shredding files in windows

Is there a built-in cmd command/utility on Windows that can shred files (delete and overwrite with random data) without the need to use third party software? In linux i would use shred. It a wonderful ...
5
votes
5answers
2k views

Removing file with strange characters in filename in OS X

After a memory error in my program, I am stuck with a file with a strange filename. It's proving quite resistant to all normal methods to remove files with strange names. The filename is: %8BUe&#...
4
votes
6answers
67k views

Prevent history deletion on Google Chrome

One of the guys I'm in charge of hasn't been pulling his weight. His productivity and quality of workmanship are way down and his computer's been getting malware infections lately. You can see where ...
4
votes
2answers
9k views

How do I delete files greater than a certain date on linux

Occasionally I extract an an archive into the wrong folder and would like to move or delete the newly extracted files. What is the easiest way to do this via the command line? Can I somehow search ...
3
votes
2answers
5k views

Delete duplicate files with Windows batch file

I have a program that automatically copies files to a directory, and if it creates a duplicate it will name it like so: file with duplicate.xxx file with duplicate - 1.xxx file with duplicate - 2.xxx ...
7
votes
4answers
6k views

Why does this file apparently not exist when attempting to delete it?

A month or so back, I untarred the Linux source in a folder in Cygwin (I was curious as to whether or not it would compile with MinGW 'cause my other computer running Linux is a slow single core ...
6
votes
6answers
4k views

Cannot delete flash9.ocx

Some kinda voodoo, indeed. Bought a new boot drive, and it's time to use the old drive for data. I thought I'd save some time by just wiping the unneeded system folders, instead of backing up, ...
3
votes
1answer
851 views

Windows Batch recursive delete old files

I'm looking for a function in batch that recursive delets all files/folders older than X Days from a given path. Is there a Fast and easy snippet that could be placed in a batch function?
2
votes
1answer
1k views

How can the recycle bin hold multiple files with the same name? [duplicate]

Under Windows if I create a file and delete it, than recreate the exact copy of the file in the same place and delete it too, than I will have 2 identical files in the recycle bin with the same name. ...
1
vote
1answer
407 views

How do I remove Windows 7 installation?

I want to remove Windows 7 installation from a partition WITHOUT destroying any other data on it using Windows 7 booted from another partition. The most obvious way would be to just delete the ...
1
vote
2answers
127 views

Delete a file that “does not exist” with a strange name

I've read about deleting files which "do not exist" and got as far as del /q /s filename in command prompt. However, the file is named COM^sv3.O[e in the browser. but when i type in dir it = Of ...
0
votes
3answers
2k views

Used the internet and deleted history (Internet Explorer). Can anyone find out still that I used it? What can they still find out?

As the question states: I used the internet on a shared machine and deleted history (Internet Explorer), which deletes all of the following: I do not want anyone to know that I used the internet ...
0
votes
3answers
2k views

Can't delete files in trash because they don't exist on OS X 10.6?

Something funky happened on one of my external drives and now whenever I plug it in 2 files show up in my Trash. If I empty the Trash via Finder, nothing happens. Ditto for the Option+Empty Trash ...
191
votes
9answers
14k views

How far will you get with an 'rm -rf /' command?

I've often wondered how far the system will actually get if you run rm -rf /. I doubt the OS would be able to erase itself (?) Bonus Question: After the command has been executed, will rm have ...
25
votes
4answers
24k views

Quickest way to merge snapshots in VirtualBox?

I have vdi with quite a number of snapshots taken from it - say, 50 or 70 snapshots. I want to have one plain vdi with a current state. These snapshots take way too much disk space and are not needed ...
23
votes
1answer
646 views

DEL *1.* deletes all files in folder

I'm trying to delete all files that end with the number one, but for some reason it is deleting all of the files in the folder. The command I'm using is DEL *1.* It works when I use a letter like ...
17
votes
7answers
22k views

Put files deleted over the network into a Windows trash can?

From a Windows workstation when I delete files over the network (e.g. a file share, server disk, etc) those files are never put into a trash can, either on my Windows workstation or on the server - ...
7
votes
4answers
6k views

How to recover deleted file if it is still opened by some process?

$ cat important_file > /dev/null & [1] 9711 $ rm important_file $ killall -STOP cat [1]+ Stopped cat important_file > /tmp/p $ ls -l /proc/`pidof cat`/fd/ total 0 lrwx-----...
18
votes
6answers
8k views

How to delete a file ending in a dot in Windows 7?

After installing Cygwin on Windows 7 and realizing I'm better of with using Linux on a different partition, I wanted to uninstall it. However, Cygwin has no uninstaller so I was left with the option ...
6
votes
2answers
16k views

How to recover deleted files in Mac OS X?

Is it possible to recover my deleted files in Mac OS X (after I emptied the trash also)? In Windows I can recover the deleted files using file recovery software. What options are available in Mac OS X?...
2
votes
3answers
3k views

How to delete visible Desktop.ini, Thumbs.db and album art from My Music

How do I delete album art, desktop.ini, and thumbs.db from my music folder in Windows 7? I can see all of these files because I took the hard drive from my old computer and put it in my new one. It ...
12
votes
6answers
13k views

How to delete all but one file in Unix? [duplicate]

Possible Duplicate: How to delete all files in a directory except some? How to delete all but one(or some) file in Unix? Something like rm -rf -ignore myfile.txt *
10
votes
6answers
46k views

Delete URL history in Google Chrome

I'm looking for a way to delete a whole URL in Google Chrome. Do I need to run some other program or can it be done in the browser itself?
6
votes
2answers
370 views

Move files to directory instead of recycle bin

I want all deleted files (with DEL-key or context menu > delete) not to be moved to the Recycle Bin but to another directory (like "Deleted Files" for instance), thus changing the default behavior of ...
5
votes
4answers
24k views

Windows 7 Unable To Delete Folder in “Programs Files”

I am trying to delete the folder in C:\Program Files\McAfee\VirusScan\Current as a member of the computer’s Administrators group. This is a standalone computer, so no domain or anything. The original ...
5
votes
1answer
7k views

Deleting files doesn't free space

I've got a disk formatted as ext3, which was filled completely. I'm attempting to free up some space on it by deleting files, but it's not working. I can rm the files, and they don't show up in the ...
3
votes
3answers
2k views

I have (Possibly) Extraneous partitions, can I delete them?

I have an Acer Aspire 5732Z that is currently dual booting W7 and Ubuntu. It is partitioned into 3 primary partitions and 1 extended one that contains 4 logical ones. I am completely sure that the ...