指定的任务可执行文件“cmd.exe”未能运行。
原来是 vs2010 ,开发的 32位的小软件
原来操作系统是 W7 32位。 vs 2010
最近拿出来,想修改成64位的
操作系统W10. 开发工具vs2019
注意到是执行路径的问题,H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu\Toolbars\ToolbarButtonEx.cs:line
我将启动外部程序,修改为,当前项目的实际路径
从新执行,还是报错路径为 H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu\Toolbars\ToolbarButtonEx.cs:line
我想问的是,路径已经修改为实际路径,H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu 这个是哪里来的
原来操作系统是 W7 32位。 vs 2010
最近拿出来,想修改成64位的
操作系统W10. 开发工具vs2019
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 指定的任务可执行文件“cmd.exe”未能运行。System.IO.IOException: Incorrect function.
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
在 System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
在 System.IO.FileStream.Dispose(Boolean disposing)
在 System.IO.Stream.Close()
在 System.IO.StreamWriter.Dispose(Boolean disposing)
在 System.IO.TextWriter.Dispose()
在 Microsoft.Build.Tasks.Exec.CreateTemporaryBatchFile()
在 Microsoft.Build.Tasks.Exec.AddCommandLineCommands(CommandLineBuilderExtension commandLine)
在 Microsoft.Build.Tasks.ToolTaskExtension.GenerateCommandLineCommands()
在 Microsoft.Build.Utilities.ToolTask.Execute() ComCtrlsNet
启动不了,弹出对话框
at RSI.ADK.UI.Services.CStateServiceProvider.SubscribeState(StateChangeHandler subscribedHandler, String stateId, Boolean initialNotification) in H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\State\StateServiceProvider.cs:line 348
at RSI.ADK.UI.Services.CStateServiceProvider.SubscribeState[T](StateChangeHandler subscribedHandler) in H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\State\StateServiceProvider.cs:line 363
at RSI.ADK.UI.ToolBarButtonEx..ctor(CStateServiceProvider StateService, MenuResourceHelper menuResHelper) in H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu\Toolbars\ToolbarButtonEx.cs:line 66
at RSI.ADK.UI.ToolBarButtonEx.FromMenuRegNode(CRegistryNode RegMnuNode, String MenuItemRef, Int32 ButtonOrder, String ButtonType, String[] triggers, CStateServiceProvider StateService, GraphicsServiceProvider GraphicsService, MenuResourceHelper ResHelp) in H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu\Toolbars\ToolbarButtonEx.cs:line 71
at RSI.ADK.UI.ToolBarControl.Reload(CRegistryNode ToolBarRegNode, String PackageID, MenuResourceHelper ResHelp) in H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu\Toolbars\ToolBarControl.cs:line 135
注意到是执行路径的问题,H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu\Toolbars\ToolbarButtonEx.cs:line
我将启动外部程序,修改为,当前项目的实际路径
从新执行,还是报错路径为 H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu\Toolbars\ToolbarButtonEx.cs:line
我想问的是,路径已经修改为实际路径,H:\Unity3D\Navigo\trunk\ColiseumMain\ADK\ApplicationCore\Menu 这个是哪里来的
...全文
相关推荐
如何使用bat文件来运行指定目录下的.exe可执行文件
1、是在D盘根目录下新建一个data文件夹, 2、是在data文件夹下新建一个文本文件,并写入内容XXX 3、运行某一可执行文件exe
命令提示符转应用程序 cmd或bat文件转exe可执行文件
命令提示符转应用程序 cmd或bat文件转exe可执行文件
LabVIEW调用外部exe之后指定运行位置
LabVIEW调用外部exe之后指定运行位置,通过使用WindowsAPI函数,获取窗口句柄。
python生成可执行文件.exe的方法
py2exe是一个将python脚本转换成windows上的可独立执行的可执行程序(*.exe)的工具,这样,你就可以不用装python而在windows系统上运行这个可执行程序。
Win7系统cmd下运行exe文件的方法.docx
Win7系统cmd下运行exe文件的2种方法,亲测有效,为程序员新手准备


