Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25720

deleting files

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject deleting files
Date 2011-01-28 11:00 -0800
Organization Canadian Mind Products
Message-ID <kc46k65u61goegok3j9heoc5t5juh78k13@4ax.com> (permalink)

Show all headers | View raw


I wrote a program to tidy up my hard disk. I run it as administrator.
It tells me there are a fair number of junk files I cannot delete. I
have a utility, presumably written in C, that much more rapidly scans
my drive for junk and manages to wipe out much of the junk I could
not.

I curious if anyone has experimented and could tell me:

1. why in the C utility is so much faster than my utility. My code is
basically just a bunch of File.list() with filters. What Java doing to
dither?

2. What is the utility doing to let it kill more files?
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
To err is human, but to really foul things up requires a computer.
~ Farmer's Almanac
It is breathtaking how a misplaced comma in a computer program can
shred megabytes of data in seconds.

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

deleting files Roedy Green <see_website@mindprod.com.invalid> - 2011-01-28 11:00 -0800
  Re: deleting files Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-01-28 16:53 -0500
  Re: deleting files Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-01-28 18:05 -0400

csiph-web