abhay123lp / jdigest

Automatically exported from code.google.com/p/jdigest
0 stars 0 forks source link

JDigest does not work well if the folder name has a trailing slash #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The below works:
java -jar "C:\Program Files\JDigest\jdigest.jar" --options --digest 
"C:\WINDOWS" "C:\windows.md5"

But the below (notice the trailing slash in "C:\WINDOWS\") does not:
java -jar "C:\Program Files\JDigest\jdigest.jar" --options --digest 
"C:\WINDOWS\" "C:\windows.md5"

Error message:
expected: {file}... {digestfile} for --digest
usage: JDigest [options] --digest {file} ... {digestfile}
   or: JDigest [options] --check {digestfile}

This is the reason why it is not possible to do "Digest here" on C: drive, for 
example, because windows replaces %1 by C:\ (with a trailing slash)

Original issue reported on code.google.com by gdass...@gmail.com on 23 Aug 2011 at 1:05