Change Windows XP Environmental Variables in LabVIEW

By Ralph - Last updated: Friday, July 17, 2009 - Save & Share - Leave a Comment

The Windows XP’s environmental variables can be changed in Windows’ control panel. And if you want to change these variables in LabVIEW, you can use the System Exec function and the command “path=dir1; dir2; dir3” together to realize it.

Using “cmd/c path=dir1;dir2;dir3” as the input parameter to System Exec function in your LabVIEW program will change the Windows XP environmental variables. In fact, you can execute all commands of Windows in System Exec function in LabVIEW.

No related posts.

Posted in LabVIEW, VI Software • Tags: , , , Top Of Page

Write a comment