取消
显示结果 
搜索替代 
您的意思是: 

System exec.vi

When there are DOS .bat and .exe share the same file names, what would System exec.vi tried to do? It seems to execute .exe file over .bat. Anyone tried this?
0 项奖励
1 条消息(共 4 条)
2,935 次查看
This is correct. Also if there is a system command ("dir" for example) then a dir.bat will not be executed if the command "dir" is sent.

I think the preferred order is System command > Com > exe > bat, but I'm open to corrections.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 项奖励
2 条消息(共 4 条)
2,931 次查看
Shane,

My memory confirms what you just posted:

"I think the preferred order is System command > Com > exe > bat".

From what I recall: com > exe > bat

Unless the extention is specified..

So specifying the extention in the System Exec.vi should spawn the appropriate one.

-JLV-
3 条消息(共 4 条)
2,915 次查看
Thanks guys.
The system exec vi has the command line input. I thought I could use this to indicate which file type (dos comd or .exec or .bat..) I am trying to execute...
0 项奖励
4 条消息(共 4 条)
2,909 次查看