As with Linux, you may add your directories to the Windows path. That way, you are able to install your files anywhere and have a more organized system. Steps:
1 Search env.

2 Go to Environment Variables…

3 Edit path under user variables.

4 Done! Now, commands can be typed without the full path and extension; e.g., gmic instead of long-path-to\gmic.exe.
PowerShell has more scripting capabilities than CMD. For reference on CMD or PowerShell, I often go to https://ss64.com/.
@snibgo’s IM site https://im.snibgo.com/ has lots of CMD scripts on image processing. Be warned: they tend to be too much for my poor heart.
I think bash is so much easier.