How to create hex in cmd

I am able to run all the notebook files in my command terminal in windows 10,
but how to run these bash commands to create a hex file from code, can you give me a hint.

%%bash -s "$PLATFORM" "$SS_VER"
cd ../../hardware/victims/firmware/basic-passwdcheck
make PLATFORM=$1 CRYPTO_TARGET=NONE SS_VER=$2

You’ll need to remove the %%bash... line, navigate to the right folder, then replace $1 and $2 with whatever $PLATFORM and $SS_VER evaluate to. For example:

cd /path/to/basic-passwdcheck
make PLATFORM=CWLITEARM CRYPTO_TARGET=NONE SS_VER=SS_VER_1_1