0
votes
4answers
36 views

How to delete all .txt files in Windows 8?

How can I delete all text files (only) from a parent folder and all its child folders (without deleting any of the folders)? I am using Windows 8 but the answer shouldn't be too different for other ...
0
votes
1answer
62 views

Something deleted java.exe, how to find what it was?

On Windows 7 Pro SP1, the files java.exe, javaw.exe and so on are being automatically deleted by something, how can I find out what it is? When I uninstall and re-install java I see these files being ...
3
votes
1answer
48 views

How to delete a folder that is being used by the system [duplicate]

I am trying to delete this folder, C:\Windows\System32\catroot. I am using the application, LockHunter and it is telling me that it is being used by the system and the svchost.exe and it is preventing ...
0
votes
1answer
19 views

Delete specific subdirectory file(s)?

I require a batch script that will delete a specifically named file or list of files in a defined subdirectory. The subdirectory structure will always be the same however the root folder of the .bat ...
0
votes
0answers
28 views

How to clear auto complete that is not in IE, Chrome, Firefox

I want to clear the answers of an auto complete form. This isnt in a web browser. I am getting that box from an in house software we run. I can't find anywhere in windows where I could clear such ...
0
votes
3answers
106 views

Can I delete certain folders on my computer?

I recently wanted to clean up some space in my C drive, and I found the following folders taking up considerable amounts of space, but I am not sure if it will be safe to delete them: ...
1
vote
0answers
66 views

Adding a new (hidden) “Delete” Context Menu item to Windows 7

I would like to add a new "Delete" context menu item such that I can delete large amounts of files and folders with a single right click without using explorer because of how slow it is. I have ...
0
votes
1answer
38 views

How can I find out which process deleted a file in a Windows environment?

I use AllwaySync to synchronize a large number of music files across two external drives attached to Windows machines. Recently, several thousand of the files were deleted from one of the drives, and ...
1
vote
1answer
534 views

Windows - Can't delete folder from Recycle Bin and it won't restore

Chain of events: Empty Recycle Bin silently fails. Tried it repeatedly. Selected ranges of items in Recycle Bin and deleted them (some didn't work), narrowing down until only one item was left: a ...
0
votes
2answers
90 views

Delete several directories with a common prefix at the command prompt

I want to delete several subdirectories of the same directory. The directories have "tmp" as the first three characters in their name. This is not working: C:\Documents and Settings\rajesh\Local ...
-1
votes
2answers
57 views

When I delete a shortcut folder on my desktop in Win 7, do I actually delete the real folder?

Let's say that I have a folder here C:\Music and I right click on this folder and choose create a shortcut on desktop Now, I have a shortcut Music on my desktop. My question is if I delete the ...
0
votes
2answers
170 views

How is free space reclaimed when files are deleted in Windows?

Whenever I delete a large set of files (multiple GB's) I noticed that this doesn't free space as much as I would expect. My expectation is that if I delete a certain amount of data my free space will ...
1
vote
2answers
476 views

How to delete Windows NTFS hard link (mklink /h) while original is in use?

On a Windows NTFS file system, I have a file (say, orig.mp3). I open this file, through this path orig.mp3, in such a way that it is in use (say, by playing it in VLC). Then I create a hard link ...
0
votes
1answer
216 views

Recursively delete folders and files and exclude a specific subfolder

I have the following folder structure: 2013/01/ 2013/02/ 2013/03/ ... I want to delete every folder and file in there except for the following structure: 2013/0x/image/web/mailing How can I ...
0
votes
2answers
93 views

How to remove all account information in Windows 8 O/S

I have to return a Windows 8 Acer Aspire laptop to the manufacturer and wish to remove all my account information. I've had the machine for one day only and not much has been installed. What is the ...
0
votes
0answers
31 views

Is there a delete trigger called on deleting an html file?

How is it that when I delete the file, say Stack Overflow.htm, the folder Stack Overflow_files is automatically deleted along with it? And does this user have control over this? Strictly talking for ...
0
votes
1answer
936 views

Batch Scripting - How to delete a subfolder (files/folders) over several directories

I need a batch file to traverse a directory structure that looks like this C:\CruiseControl\ProjectArtifacts\ProjectName1\Logs C:\CruiseControl\ProjectArtifacts\ProjectName1\Src ...
10
votes
1answer
208 views

Why is deletion speed in Windows periodic often?

Just out of interest, what is the reason for deletion times to be periodic often? In Windows 8, the deletion dialogue window shows deletion speed in a diagram. If there is no reason, of course that ...
0
votes
4answers
5k views

How to delete “Program Files (x86)” folder after windows login

I need to delete Program Files (x86) folder. I can't delete it because some dll files cannot be deleted. One of the first of them is "common/.../dao360.dll" I am following this tutorial: ...
0
votes
1answer
688 views

Why is deleting files to recycle bin so much slower than when using Shift+Del with Total Commander?

When deleting a large directory with Shift+Del (no Recycle Bin), it happens an order of magnitude faster. Why is deleting to Recycle Bin so much slower on Windows? I'm on Windows 7. Edit: Just ...
0
votes
2answers
631 views

How to disable 'delete files' confirmation?

Is there a way to disable the Windows confirmation prompt when deleting files to the recycle bin? I do want the prompt to remain when Shift-deleting (i.e. not to the recycle bin). [I'm using ...
2
votes
1answer
454 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. ...
0
votes
2answers
147 views

Removing a file named '…' in Windows 8

Completely by accident, I created a file named ... using Grunt.js for Node in Windows 8. Is it possible to remove this file without having to reformat the partition?
1
vote
1answer
73 views

Can not delete windows user files [duplicate]

As I was experimenting with windows I made a lot of new users accounts that I don't need anymore. Now I deleted them in control panel, but the user files stay in local disk and can't be deleted.So how ...
0
votes
2answers
228 views

Remove folders maching pattern recursively in Windows

I need to delete all sub-folders in a folder tree that match the pattern "images". I can remove all files matching a pattern using del /s myfolder\images*.* but it doesn't work for directories. I ...
1
vote
3answers
1k views

Can't delete folder from old Windows installation not even with disk cleanup

I'm trying to delete a old Windows folder from my old HDD but I always get access denied for an old USB camera's ProgramData folder (with Admin CMD) and not even the the Disk Cleanup was able to ...
1
vote
1answer
2k views

Unable to terminate process

I can't terminate some processes. It says "Access denied". I am the ultimate owner of the computer. How can I terminate such processed anyway? These are not system processes, these are file managers ...
0
votes
1answer
38 views

How to make sure to have always enough disc space by deleting files from directories that are the oldest

I want to make sure that the server we use for logging certain things never runs out of disc space because of too many logs. The oldest logs shall be deleted when disc space is running low. Are there ...
2
votes
3answers
890 views

Delete set of files using find command

Background Delete a set of files, scattered across different directories. Problem The following code does not work (the unescaped | causes issues); for %i in (dir /s/b | find "lock") do echo del ...
3
votes
4answers
2k views

Two Windows 8 HDDs, but I can't delete the contents on one of them if booted from another. How could I delete one of them without reformating?

On my machine I have two HDDs and in both I have a Windows 8 x64 installed. I booted from one of them and tryed to delete the contents of the other one (D:\Windows for example), but Windows 8 don't ...
4
votes
4answers
4k 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 ...
8
votes
1answer
546 views

Cannot delete folder - Content seems to be nested recursively

I cannot delete a folder located on my hard disk by any means. I don't quite know how it was created, all I know is, that it is a pretty deep structure of folders (too deep to delete it at once, ...
0
votes
1answer
802 views

“My Documents/My Pictures” deleted on XP. “My Documents” copied on W7. “My Picture” now phantom

Any help on a issue probably related to deleted system folders would be terrific: My old computer did run XP. On my old computer, I deleted "My documents/My images" -- never had any problem there. I ...
0
votes
1answer
154 views

Delete folders with a common string but with spaces in folder names

I have a bunch of folders, some with spaces in their folder names and some not. They all have a certain string common in their folder names and they all lie inside a single directory. For e.g new ...
11
votes
2answers
4k 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 ...
0
votes
2answers
738 views

Delete un-wanted files from a folder based on file type

I need help on finding a tool to delete certain files with a specific file types from a directory on Windows. Lets say I have a folder with 500 files, 150 files with extension .pdf, and 350 with ...
1
vote
3answers
3k views

How to remove an infinitely recurring directory tree?

On one of our Windows 2003 file servers somehow someone or something managed to create infinitely recurring directory trees within some of the users' home folders, and they can't be deleted. You wind ...
6
votes
10answers
6k views

Delete huge number of files on Windows

I have a directory that contains millions of sub-directory and trillions of files. And now I have to clear it. Saying trillion, I'm not talking about file size, but the number of files. I've tried ...
-1
votes
2answers
284 views

How do I delete everything on a partition, except for Windows?

Possible Duplicate: How can I free up some space in my C: drive? I am running Windows 8 on a seperate partition right now, and want to delete everything on my old partition that contains ...
3
votes
1answer
629 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?
1
vote
2answers
3k views

Deleting old Windows 7 Files

This is my 3rd install of windows 7 now on various array of hard drives, I'm now onto a SSD. However I need to clean up all the other files, I've managed to get rid of all the permission based files. ...
21
votes
2answers
550 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 ...
8
votes
3answers
2k views

How can I remove a folder without a name in Win7?

I use Windows 7. The problem can be seen from the picture. I have tried to remove the folder "by mouse". But I failed to do so. How can I remove the folder without a name? UPDATE: Thanks to Nifle's ...
2
votes
2answers
3k views

Batch delete : Access is denied

As the title suggests, I'm having issues with the del command in a batch file. When it gets to the delete step I get the message "Access is denied". My batch command looks something like this. set ...
3
votes
6answers
4k views

How to delete a Thumbs.db:encryptable file

I found a file called Thumbs.db:encryptable on my image folder, and I can't delete it. I've tried reboot my PC, but it doesn't work. When I try to delete a folder that contains this file, this ...
1
vote
1answer
524 views

Why would rmdir /s fail but still delete the innermost subdirectory?

I had a directory structure (src/...) created by Cygwin's 7za.exe. From a command prompt I ran rmdir /s /q src. This resulted in error messages (paraphrasing as my DOS shell has long since ...
1
vote
2answers
217 views

How to detect why I cannot delete directory?

I cannot delete empty directory, I would like to know why. That directory did contain movie that was being played by my custom player and it might somehow be still blocking the directory. however it ...
2
votes
1answer
532 views

Deleting Multiple Files

I am deleting multiple files with the command: del /s *.doc *.rtf *.txt I get the error Could Not Find *.doc. How can I get the command to continue deleting RTF and TXT files when there are no ...
3
votes
2answers
2k 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 ...
1
vote
1answer
732 views

Windows Live Photo Gallery is deleting photos

I'm helping my mother organize her photos in Windows Live Photo Gallery (Windows 7). We've been scanning in slides taken decades ago. We want to arrange the photos by date, so we have been changing ...