Launching a VI from the Command Line

To launch a VI from the command line (Start»Run), use the following syntax:

c:\labview\labview.exe <path to VI relative to the labview directory>

For example, to launch the readme.vi inside the c:\labview\examples directory, the command is

c:\labview\labview.exe examples\readme.vi

If the VI is located in a different path, you must specify the full path to the VI as follows:

c:\labview\labview.exe c:\coolapp\mycool.vi

If a directory in the path contains spaces, you must enclose the path in quotes as follows:

c:\labview\labview.exe "c:\cool application\mycool.vi"

If the VI is in a VI library, you can take one of the following approaches:

c:\labview\labview.exe "c:\coolapp\eagle.llb\mycool.vi"

c:\labview\labview.exe "c:\coolapp\eagle.llb"