Login | |
|
 |
Re: comparing file names, etc - 5/9/2005 7:50:19 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Question, If you are looking to compare 2 files to see they match, why would you need to do a character by character compare if you already know they match? i.e. c:\folder1\File1.txt = c:\folder2\file1.txt while c:\folder1\File1-05-06-2005.txt <> c:\folder2\file1-05-07-2005.txt if you added the date to the file name then you are morelikely to get 2 different file names. If you factor in the date and time, the likely hood that you will have the same names is even less likely.
|
|
| |
|
|
|
 |
Re: comparing file names, etc - 5/10/2005 12:22:03 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
So, you are not looking at comparing the full file name but a prefix and extension to the file? i.e. check for all files that start with xyz and end in dat.
|
|
| |
|
|
|
|
|