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

system exec not running copy command

已解决!
转到解答

zou,

I tried using a batch file but I get the same error that the file doesn't exist if I run the batch file using system exec.vi. If I double click the batch file in windows explorer then the command executes successfully and the file gets copied to the destination folder.

 

mikereporter,

If I use labview path control and use the browse path to system32 folder then I don't see query.exe(the file that I want to copy) in the results.

0 项奖励
11 条消息(共 15 条)
2,121 次查看

@LVCoder wrote:

zou,

I tried using a batch file but I get the same error that the file doesn't exist if I run the batch file using system exec.vi. If I double click the batch file in windows explorer then the command executes successfully and the file gets copied to the destination folder.

 

mikereporter,

If I use labview path control and use the browse path to system32 folder then I don't see query.exe(the file that I want to copy) in the results.


I wonder if this has anything to do with UAC?  I know LabVIEW has problems sometimes with UAC on at any level.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 项奖励
12 条消息(共 15 条)
2,110 次查看
解答
已被主题作者 LVCoder 接受

My guess would be that your Windows is 64 bit and your LV is 32 bit and you're getting redirected. See here for a similar recent discussion with more details - https://lavag.org/topic/19387-system-directory-hidden-from-labview-not-really-a-labview-problem/


___________________
Try to take over the world!
13 条消息(共 15 条)
2,083 次查看

Thanks tst! that exactly was the issue.

0 项奖励
14 条消息(共 15 条)
2,063 次查看

@tst wrote:

My guess would be that your Windows is 64 bit and your LV is 32 bit and you're getting redirected. See here for a similar recent discussion with more details - https://lavag.org/topic/19387-system-directory-hidden-from-labview-not-really-a-labview-problem/


Wow, I knew you could trip over this issue with the registry - I didn't realize it applied to the system32 directory, too!

 

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 项奖励
15 条消息(共 15 条)
2,054 次查看