找回密码
 注册
Simdroid-非首页
查看: 60|回复: 1

[二次开发] 通过VB shell函数调用命令流文件的目录和输出报告目录不能为中文的问题

[复制链接]
发表于 2012-5-23 22:42:44 | 显示全部楼层 |阅读模式 来自 北京
通过VB shell函数调用命令流文件的目录和输出报告目录不能为中文
       ansys_inputfiles = Application.StartupPath + "\AnsysWorks\input.txt"  '程序所在目录不能有中文
            ansys_outputfiles = Application.StartupPath + "\AnsysWorks\output.txt"  '程序所在目录不能有中文

            pro_ansys = TextBox1.Text + " -b -p ane3fl -i " + ansys_inputfiles + " -o " + ansys_outputfiles
            ansys_run = Shell(pro_ansys, AppWinStyle.MinimizedNoFocus)  'textbox1的内容为ansys的系统目录
 楼主| 发表于 2012-5-23 22:43:46 | 显示全部楼层 来自 北京
Simdroid开发平台
这个问题能不能解决一下,使得这个shell函数中可以接收中文目录
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-6-11 03:06 , Processed in 0.028353 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表