Error with pandoc

Been messing with pandoc, got it working on my laptop but on my pc it gives me the error “ERROR: ERROR: spawn C:\WINDOWS\system32\cmd.exe ENOENT” Ive been reading stuff online but everything related requires a bit more coding knowledge than I understand bc It doesnt seem anyone has had this trouble with obsidian just other coding projects. if anyone has any ideas Id love to hear it