1. 新建 test.bat
需要切换文件夹以后 并且执行程序。
cd /D "F:xxxfolder" && dotnet testdll.dll
2. 直接设置启动程序 选择 test.bat即可。