The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2005-02-21, 10:10 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
md5 Problems

When I generate an md5 checksum using either mkw, audiophilia or md5summer I get this when I try to very


C:\Documents and Settings\xxxxxxx\My Documents\My Music\Led Zeppelin 1972.0
2.19 Adelaide>for %f in (*.md5) do c:\windows\system32\md5sum.exe --check %f

C:\Documents and Settings\xxxxxxx\My Documents\My Music\Led Zeppelin 1972.0
2.19 Adelaide>c:\windows\system32\md5sum.exe --check Led Zeppelin 1972.02.19 Ade
laide.md5
c:\windows\system32\md5sum.exe: only one argument may be specified when using --
check
Try `c:\windows\system32\md5sum.exe --help' for more information.

C:\Documents and Settings\xxxxxx\My Documents\My Music\Led Zeppelin 1972.0
2.19 Adelaide>pause
Press any key to continue .



What am I doing wrong when I generate the md5sum????

The verification command works because I used it to verify other files and it works fine.
__________________
You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted: Never
Reply With Quote Reply with Nested Quotes
  #2  
Old 2005-02-21, 10:32 AM
uhclem
0.00 KB/0.00 KB/---
 
Re: md5 Problems

The problem is you have spaces in your md5 files names. The command line is totally braindead when it comes to spaces and other special characters such as & , > < etc.

put quotes around the %f like this:

for %f in (*.md5) do c:\windows\system32\md5sum.exe --check "%f"

Furthermore, this command-line 'verifies' an md5 checksum, it doesn't 'generate' one.

If you want to get fancy, put it all into a batch file using code like this:

@echo off
%~d1 & cd "%~s1"
for %%F in (*.md5) do md5sum --check "%%F"
pause


Save it in a text file but with a .bat extension. Then just drag and drop the folder containing your audio files and md5s straight onto the batch file.

Note that you must use double % in a batch file 'for' command, but not on the command line. You also can leave out the path to your md5sum.exe program (as well as the .exe) since it appears to be in your system path.

Last edited by uhclem; 2005-02-21 at 10:38 AM.
Reply With Quote Reply with Nested Quotes
  #3  
Old 2005-02-21, 11:25 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: md5 Problems

Thanks - missed the obvious and got it to work.!
__________________
You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted: Never
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
Serious Problems - VHS - Need Help - Crotchy Technobabble 14 2007-04-23 09:07 AM
AVI problems - greenie44 Technobabble 11 2006-05-21 09:45 PM
DVD Problems.... - kidrocklive Technobabble 4 2005-09-23 06:31 PM
problems??? - ucusty Site Announcements & Suggestions 2 2005-02-24 11:14 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 04:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket