解决(TeXstudio)Could not start the command: pdflatex.exe -synctex=1 -interaction=nonstopmode的问题

最近用到了Latex,顺便下载了texstudio之前有用到过但是是一次安装完成的没碰过任何问题,这次系统重装之后是先安装的texstudio然后安装的texlive不知是不是先后顺序导致了这个问题,话不多说直接上解决方案。
解决(TeXstudio)Could not start the command: pdflatex.exe -synctex=1 -interaction=nonstopmode的问题
这是一个网上的图片,其实处理方案很简单,它报错的是找不到pdflatex.exe,这个应用程序我们只需找到相应的PdfLaTeX这一行,点击后面的像打印机一样的东西(这个是在option->configure TeeXstudio里面的commands那一行)找到你的pdflatex.exe所在的文件夹(我的在D:\texlive\2019\bin\win32)然后选中pdflatex.exe如图解决(TeXstudio)Could not start the command: pdflatex.exe -synctex=1 -interaction=nonstopmode的问题
若遇到其他错误如xelatex.exe之类的一样处理,想换默认pdf打开方式的选择External PDF Viewer那一行找到你的pdf阅读器即可。