I need to grab just the md5 value from a file and make it a variable which I can use to compare to another md5 value. The problem is this file looks like this:
a7393f772e34ca16a5854e80d9ec6704 md5
How do I open the file and only grab the actual number in DOS? (Not the “md5” And set it as a variable?
Thanks!
There’s no way to do that with a batch file on MSDOS. However, an NT/W2K/XP/etc. batch file can do it this way: