01-14-2016 02:07 PM
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.
01-14-2016 02:18 PM
@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.
01-14-2016 03:50 PM
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/
01-14-2016 04:41 PM
Thanks tst! that exactly was the issue.
01-14-2016 04:56 PM
@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!