Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Slow deletion of files

03 Aug 2013   #11
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

I'm not confused. I just want a safe website to study and understand that program.


My System SpecsSystem Spec
.
04 Aug 2013   #12
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
A Google search for DeleteXP gets no hits.
I got results using a search term of "DeleteXP.exe".
(Quotation marks included.)


Quote   Quote: Originally Posted by Layback Bear View Post
I'm not confused. I just want a safe website to study and understand that program.
http://www.easytools.com/downloads/freebies.html
Scroll down until you see the "Delete XP" app (formerly Delete'97).

Here is a VirusTotal link to the zip that the OP posted:
https://www.virustotal.com/en/file/b...is/1375589285/
And to the EXE in that zip:
https://www.virustotal.com/en/file/6...is/1375589374/
Which had been uploaded/scanned before in April of this year:
https://www.virustotal.com/en/file/6...1541/analysis/



@OP,
The EXE in the zip that you uploaded and the EXE in the zip available via the download link from the website linked to above are bit for bit the same. However, the EXE in the zip available via the download source code link from that same website is slightly different. Both are version 2.5, but perhaps one was recompiled to change something not deserving of a revision number change.

Slow deletion of files-compare.png

I only mention the differences between the two EXE files to explain why I'm posting two screenshots - I got the same error when attempting to use both versions inside a W7 pro 64bit Virtual Machine (all patched up):

Slow deletion of files-error1.png

Slow deletion of files-error2.png

I was able to delete an empty text file from the root of c:\ using the "Delete XP" app... I'm just not sure how/why our experiences were so different when attempting to delete the DLL mentioned in the OP. It may not be worth your time to educate me on how to reproduce your experience with this app. I'll understand if you do not want to take that path.

What is reason for using this method for deleting files?
Is it the fact that the files can go to the recycle bin?


My System SpecsSystem Spec
04 Aug 2013   #13
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by jlauret7 View Post
~~~
Is it possible that a Windows update caused this? Let's say, a past 4 months update or so ...
I am at a loss as per what to check or try next ...
Just to address these questions in a less busy post - I'll repeat that my testing was in a VM that was all patched up. A fresh and frozen OS build only 24 days old.

It would be interesting to see how things work for you within a VM. That should take the chip set drivers out of the equation. You can do a test for free. Only your labor (and maybe your download bandwidth - if you need/want an w7 ISO with SP1*) would be involved. You can skip registration/activation during the install. This should give you 30 days of testing. Dump the VM after that.

*See the note box in step one of this tutorial for a link to those W7 ISO files.
My System SpecsSystem Spec
.

04 Aug 2013   #14
jlauret7

Windows 7 Professional
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
What is reason for using this method for deleting files?
Is it the fact that the files can go to the recycle bin?
As noted, explaining this problem using DeleteXP.exe was just an example to illustrated (within a confined
and smaller program) what I am experiencing with other tools such as Calibre eBook. I thought that it
would be easier to trace what it does (obviously, Calibre is a much more complicated program).

But the reason I have DeleteXP.exe on my laptop IS indeed for scripting purposes and the fact that
it moves files to the Recycle Bin - an example usage: from a cygwin cron, I can search for trash files
and delete (but in case something goes wrong I can always recover). But this is a side track from the
core issue I am experiencing.

The point remains that a few utilities exhibit this slow file deletion behavior and they seem to have one thing in common: the use of the old(er) delete API. I used to have this problem as well with a tool called TotalUninstall ... Every uninstall using that tool would at some stage delete files so slowly that it became unusable ... until I upgraded to the Windows 7 / Windows 8 compatible version (then all was well again).


Quote   Quote: Originally Posted by UsernameIssues View Post
...
It would be interesting to see how things work for you within a VM. That should take the chip set drivers out of the equation. You can do a test for free. Only your labor (and maybe your download bandwidth - if you need/want an w7 ISO with SP1*) would be involved. You can skip registration/activation during the install. This should give you 30 days of testing. Dump the VM after that.

*See the note box in step one of this tutorial for a link to those W7 ISO files.
I will try following this suggestion (never did that before) and report.
My System SpecsSystem Spec
04 Aug 2013   #15
jlauret7

Windows 7 Professional
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
I'm not confused. I just want a safe website to study and understand that program.
UsernameIssues provided the links in this follow up #post2486758 (I provided the executable in #post2486554). I found it from EasyTools at Freebies .

Please, see also my answer #post2486874.
My System SpecsSystem Spec
04 Aug 2013   #16
UsernameIssues

W7 Pro SP1 64bit
 
 

I probably should have explained that I asked why you had these apps (and if you needed the recycle bin feature) so that maybe forum members can help you find a command line tool that calls a newer API and still uses the recycle bin.

Even if the end of this research finds some combo of software/driver/whatever on your computer that causes this slowdown - the best solution for us to help you with might just be to find a new set of command line apps.
My System SpecsSystem Spec
04 Aug 2013   #17
UsernameIssues

W7 Pro SP1 64bit
 
 

To be clear: I do get (and appreciate) that DeleteXP is what you picked/provided for us to help you with. I know that Calibre eBook is doing this delay too. You are probably write about the API that they call... but the solution for you might still be the same: find better apps.

It would be interesting to know why the delay happens for you, but since I cannot reproduce the delete that you highlighted. I'm not sure what to try next on my end. If you want, you can also try the clean boot steps mentioned here: Troubleshoot Application Conflicts by Performing a Clean Startup
My System SpecsSystem Spec
04 Aug 2013   #18
jlauret7

Windows 7 Professional
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
I probably should have explained that I asked why you had these apps (and if you needed the recycle bin feature) so that maybe forum members can help you find a command line tool that calls a newer API and still uses the recycle bin.

Even if the end of this research finds some combo of software/driver/whatever on your computer that causes this slowdown - the best solution for us to help you with might just be to find a new set of command line apps.
I appreciate your suggestions and help. The command line DeleteXP.exe issue is secondary however (was just an example and I can leave without a working solution for that command line tool ... although if you end up finding a better tool, I won't say no either as it has its convenience).

The real problem I have is with Calibre - unlike my story and similar experience with TotalUninstall (older version suddenly also performed deletes as slow as hell / upgrade resolved the issue), there is no "upgrade" per-se I can perform for Calibre (get their tool as-is and that's it). Suggesting to the authors to try changing SHFileOperation() to the newer IFileOperation() leaded to them saying "no way" (or equivalent) and that the problem is mine as they could not reproduce the issue (https://bugs.launchpad.net/calibre/+bug/1205889). Don't get me wrong: I agree with their answer (can't change code for one person) and also appreciated that they tried to reproduce the problem and could not (BTW: this means I won't on a fresh Windows 7 install) and also understand why they don't want to change their code (IFileOperation() came up with Vista onward; they would have problem supporting XP with one source if they change their code using a more recent API call).

But if I could re-compile their code and change the calls as a test, I would because those delete problems have not appeared in ANY program that are declared fully Windows 7 compatible (but apart from gcc/cygwin, I do not have any compiler tool): what I would do is try to change SHFileOperation() to an IFileOperation() call and see if that changes anything ("SH" suggests something to do with a shell invocation; perhaps something goes bad there but I can't think of what - your pointer to the AV was a good thing to try for sure).
My System SpecsSystem Spec
04 Aug 2013   #19
jlauret7

Windows 7 Professional
 
 

Quote   Quote: Originally Posted by UsernameIssues View Post
To be clear: I do get (and appreciate) that DeleteXP is what you picked/provided for us to help you with. I know that Calibre eBook is doing this delay too. You are probably write about the API that they call... but the solution for you might still be the same: find better apps.

It would be interesting to know why the delay happens for you, but since I cannot reproduce the delete that you highlighted. I'm not sure what to try next on my end. If you want, you can also try the clean boot steps mentioned here: Troubleshoot Application Conflicts by Performing a Clean Startup
My post crossed this one. Would you know of a better tool than ProcessMonitor to trace an apps call stack (and child-process)?
My System SpecsSystem Spec
04 Aug 2013   #20
UsernameIssues

W7 Pro SP1 64bit
 
 

Yes - we cross posted. I should have refreshed :-(

I understand about wanting Process Monitor to grab the info that you mentioned and maybe offer the option to automatically trace children - maybe that will come someday. I don't know of a tool that does those things, but debugging is not really my area and I'm not a programmer...

I installed Calibre before I saw your post/link to your Calibre forum/thread. I set Calibre up for general device and epub docs - then grabed a dozen or so epub docs from gutenberg.org. They all went into the manager just fine and they all deleted (using Calibre's GUI) in a flash. Process Monitor showed no delays.

Maybe I should have pointed you to the clean boot tutorial earlier because is it looking more and more like a software conflict; but I think that you will like having a Virtual Machine to temporarily play with.

Based on the guess in the Calibre forum/thread that something is making the Recycle Bin slow - I would suggest that you try Calibre inside your Virtual Machine without (and then with) your anti-virus tool. I'm not familiar with Outpost's security app(s) so I cannot say that they suffer from the same issue that other security apps sometimes do: that of not always uninstalling well. A number of companies offer more aggressive cleanup tools to be used after the normal uninstall/reboot.
My System SpecsSystem Spec
Reply

 Slow deletion of files




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Shift+Delete problems and reappearing files after deletion
Hello, I have had a good clean copy of Windows 7 installed for some time now and right from the start I noticed a problem that until recently, I managed to tolerate. Whenever I shift+delete a file that is an executable, batch file or similar, it returns temporarily then dissapears on it's own...
General Discussion
Best (free!) recovery software to use after deletion of files
Hello everyone, it's me again! I need some assistance, after a mate of my e-mailed me as has deleted some files by mistake, and was wondering how to get them back (If possible?) I do wish people would stop pestering me, due to my slightly better than average knowledge of PCs! Here's his e-mail:...
Backup and Restore
Creating a Files log deletion
I see there is no log in windows 7 about the deleted files I often use the shift + delete to delete files I do not need, unfortunately sometimes the parent folder gets deleted instead (focus on the left tree area instead of the right list area) at least, a list of the deleted files would be...
General Discussion
Restore files after accedental partiition deletion
Heres the deal: 2 drives: 1TB WD where all my files are 120 OCZ SSD were I load my O/S from I was quickly going thru the motions of installing windows and got to the part about where I wanted it. I deleted the entire partition table in both of my drives. Quickly realizing what I did, I...
Backup and Restore
How do I restore the .exe files deletion warning popup in Win7 ?
When you delete an .exe file, Win7 opens a popup warning and it's got a selection box to "don't ask again for all files of this type" (or something like that). I left unintentionaly the selection on, and as a result the popup warning is not opening, and .exe files are deleted in just one step. ...
General Discussion
Accidental deletion of sent files Outlook 07
Any chance of recovery of the sent file folder which was accidentally deleted. Outlook 2007 :( Actually just the files in the sent folder, not the folder itself.
Microsoft Office


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:21.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App