| View previous topic :: View next topic |
| Author |
Message |
H5N1Strain Newbie
Joined: 28 Apr 2010 Posts: 17
|
Posted: Fri May 28, 2010 3:38 am Post subject: File Comparison |
|
|
Hey Guys...
It has been a little while since using VDS 5. I need to compare 2 files (small .WAV files). I need to find wheather the files are an exact match. I know it is easy to do, but, I have read the Help file and also searched the forum and havnt been able to find relevent info. Any help would be greatly received.
Googie. |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Fri May 28, 2010 4:31 am Post subject: |
|
|
| You could do a md5 hash of both files and see if they match. Search on the forums here, I think Tommy released an md5 dll, and theres a native VDS method of using md5 as well I believe. |
|
| Back to top |
|
 |
H5N1Strain Newbie
Joined: 28 Apr 2010 Posts: 17
|
Posted: Fri May 28, 2010 6:47 am Post subject: |
|
|
Hello,
Does anyone know a link where I can download vdsmd5.dll? I think its by Tommy...
Thanking You...
Googie. |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Fri May 28, 2010 2:05 pm Post subject: |
|
|
| It can be compiled into the vdsdll. On the main vdsworld page, there is a link on the left that lets you compile a custom vdsdll. One of the options is to include the vdsmd5. |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri May 28, 2010 2:14 pm Post subject: |
|
|
DiskNMem.DLL has a CRC32 function that will operate on files...
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
uvedese Contributor


Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Sat May 29, 2010 8:13 am Post subject: |
|
|
Hi guys
If you don't mind use a DOS program you can capture MD5 of a file.
You know
| Code: | RUN program.exe,PIPE,WAIT 2
%P = @PIPE() |
You can download DOS program this site:
http://nosetup.org/programa/65
and use "Descarga" link
This program is very fast
Enjoy it
___________
uVeDeSe
___________ |
|
| Back to top |
|
 |
uvedese Contributor


Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
|
| Back to top |
|
 |
WidgetCoder Contributor


Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Fri Jun 04, 2010 4:38 am Post subject: |
|
|
VDS has CRC and MD5 built into the @encrypt() function, see the "filecrc.dsp" demo included with v6.
If you're building in v5 I wrote a small (22kb) extension you can freely use:
http://www.vdsworld.com/forum/download.php?id=156 |
|
| Back to top |
|
 |
|