Re: Check folder for duplicate files
- From: Co <vonclausowitz@xxxxxxxxx>
- Date: Tue, 14 Aug 2007 18:50:47 -0000
On 14 aug, 20:40, "Mike Williams" <mi...@xxxxxxxxxxxxxxxxx> wrote:
"Co" <vonclausow...@xxxxxxxxx> wrote in message
news:1187112810.989536.322340@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thisismyfile.doc and Thisismyfile.pdf. I want the code
to find these files by cutting of the extension (.xxx)
Finding files with names that are the same (either excluding or including
extensions) is very easy, but the fact that two files have the same name
does not mean they are actually the same file, or that they represent the
same data. You can check the actual file contents of one file against
another to see if their content is the same, but this will only produce
meaningful results if the type of file (doc, txt, jpg, pdf) is the same in
both cases.
What are you actually trying to achieve, and why?
Mike
Mike,
We have to transfer lots of files.
Sometimes people save files under another extension.
Like in my example. So if two files with the same name exist, it can
only be
with another extension. I have to open these two files and check if
they contain the same data.
Marco
.
- Follow-Ups:
- Re: Check folder for duplicate files
- From: Larry Serflaten
- Re: Check folder for duplicate files
- References:
- Check folder for duplicate files
- From: Co
- Re: Check folder for duplicate files
- From: Mike Williams
- Check folder for duplicate files
- Prev by Date: Re: How to know a procedure's name where an error occured?
- Next by Date: Re: Check folder for duplicate files
- Previous by thread: Re: Check folder for duplicate files
- Next by thread: Re: Check folder for duplicate files
- Index(es):
Relevant Pages
|