NI Home > Community > NI Discussion Forums


Showing results for 
Search instead for 
Do you mean 
Posts: 15
Accepted Solution

devcon not recognized

I have recently installed devcon.exe in the following folder: C:\Windows\System32 and it works fine for me when using the command prompt (cmd.exe). However when I try to use it with labview through the "System", I get the following error:


'devcon' is not recognized as an internal or external command,
operable program or batch file.


This seems like the devcon.exe can't be found by Labview. I tried locating the devcon.exe in the same folder as the VI that was running but to no avail. I have attached the code. Any help appreciated.

Chosen by topic author SMcS12
Posts: 15

Re: devcon not recognized

Problem solved. The working directory needs to be left blank and it works then.