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.
@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.
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/
@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!