Can't get past setting up minecraft forge mdk

Status
Works as designed
Issue description

I've been trying to set up mcreator but it won't go past setting up forge mdk I let it sit for 2 days still was setting up forge mdk this is what it says in the console I have both forge and minecraft installed idk why it won't go past setting up forge mdk.

   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 6143 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Pylo\MCreator182\.\jdk
FATAL: Cannot run program "cmd" (in directory ".\forge"): CreateProcess error=2, The system cannot find the file specified

Issue comments

cmd.exe is missing from your file system path. This is a serious issue not just for MCreator but for general use of your computer. You are most likely missing entry C:\Windows\System32 from your Path System variable.

This is not an issue with MCreator but your computer. Fix this by adding this entry back to where it should be.

Many users are reporting that Avast is blocking MCreator so try disabling it. We have contacted Avast developers and we hope they resolve the issue.