Deprecated tag, don't use.

learn more… | top users | synonyms (2)

65
votes
13answers
61k views

Tool for deleting 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 ...
42
votes
5answers
162k 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 ...
10
votes
7answers
14k 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 ...
31
votes
15answers
42k 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 ...
12
votes
3answers
12k 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? ...
5
votes
2answers
15k 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 ...
10
votes
5answers
7k 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 ...
5
votes
4answers
12k 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 ...
22
votes
11answers
126k 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 ...
4
votes
4answers
2k 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 ...
5
votes
3answers
4k views

Mac OSX Preview: Disable the Command-Backspace “Move to trash” keyboard shortcut?

I use Preview to view PDF files (duh) and sometimes annotate them as well as search them profusely. I keep using the Command-Backspace combination to try to delete the current line I'm writing in the ...
4
votes
4answers
2k 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. ...
75
votes
8answers
137k 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?
11
votes
5answers
9k 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 ...
32
votes
15answers
26k 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 ...
13
votes
3answers
8k 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
8k 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 ...
2
votes
4answers
1k 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, ...
2
votes
3answers
577 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 ...
2
votes
1answer
10k views

How to delete system files in Windows 7?

When I first started testing windows 7 RTM, I created a separate partition for it. That left me with a vista partition (carrying all my personal files and stuff), and a windows 7 partition. When 7 ...
63
votes
12answers
5k 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! ...
35
votes
6answers
60k views

Recursively delete empty directories in Windows

I have a directory on my Windows 7 machine that has hundreds if not thousands of sub-directories. Some of them have files, some do not. I want to delete all the empty directories. Looking at the ...
9
votes
5answers
18k views

How do I delete Windows.old in Windows 7?

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 ...
6
votes
3answers
8k 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 ...
7
votes
3answers
7k 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?
6
votes
5answers
9k 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 ...
2
votes
2answers
6k views

How to delete files and subdirectories from folder but not that folder itself?

What commands can I use (from the command prompt) to delete all files and all subdirectories from a folder, but not delete the folder itself? Basically at the end of the delete, there should be an ...
5
votes
4answers
7k 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 ...
4
votes
3answers
1k 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: ...
4
votes
2answers
6k 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
4k 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
4k 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 ...
2
votes
1answer
766 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
2answers
111 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 ...
1
vote
1answer
352 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 ...
0
votes
3answers
3k views

Filename too long - IMPOSSIBLE to delete/move/rename [duplicate]

I can`t delete a folder because it has LOTS of folders inside it. Believe me, it is really lots. ...
0
votes
4answers
21k views

I can't delete a file, it's in use by the system… But it isn't [duplicate]

Possible Duplicate: I can't delete a file - even when using unlocker I tried all the tools from the question How do I delete a 'locked' file?, and they didn't help. All the ...
0
votes
3answers
1k 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
1k 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 ...
181
votes
8answers
10k 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 ...
15
votes
4answers
13k 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 ...
22
votes
2answers
587 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 ...
15
votes
7answers
13k 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 - ...
2
votes
2answers
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 ...
8
votes
5answers
27k 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?
7
votes
4answers
3k 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 ...
6
votes
2answers
246 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 ...
3
votes
2answers
3k views

bash home/end/delete key inserting tilde, or if preceded by escape key, [1~ [3~

bash home/end/delete key inserting tilde, or if preceded by escape key, [1~ say I type echo hellp, move cursor to hel|lp and type delete, and bam, i got ~tilde say I type echo hellp, move cursor to ...
11
votes
6answers
11k 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
38k views

How can I delete all files/subfolders in a given folder via the command prompt?

I would like to delete all files and subfolders in a batch file in Windows 7 and keep the top folder. Basically emptying the folder. What's the command line instruction for that?