i use checksum command in my batch file and the output of command as follow :
69514a29dc44cd83b42658e917ed9baf *file.txt
i want to return checksum only so i should store it in variable without file.txt
like
CHECKSUM=69514a29dc44cd83b42658e917ed9baf
how i can do this maybe write output of command to file then read this file ??? if yes how i can read just first 32 bits from file and store it in variable ????