LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

launch labview exe from a batch file

i want to call a labview exe using a batch file that runs whenever the computer boots up. I am using call C:\test.exe in tha batch file, but it doesn't work.
 
Now, I know that vi can be run programmatically by putting a shortcut in the start menu. I don't want that. This is a unique application that requires running through a batch file.
 
any help?
below is my batch file script:
cls
@echo off
XCOPY P:\Bkup\BI\*.* C:\BI /D/E/Y/I
pause
CALL C:\BI\APPS\\builds\TEST.exe
exit
0 Kudos
Message 1 of 3
(2,807 Views)

CALL is used to call one batch file from another. Don't use it to run a program. Also, why do you have a pause? If you want this to just run by itself at system startup, you shouldn't pause. That will wait for the user to press a key.

Edit: Also, I just noticed you had 2 backslashes in this line at "APPS\\builds": CALL C:\BI\APPS\\builds\TEST.exe

Message Edited by Marc A on 01-03-2007 03:08 PM

0 Kudos
Message 2 of 3
(2,791 Views)
Offhand I'd say it's because you have two backslashes in your "CALL" line.

EDIT: Beaten to the punch by Marc. Sorry for the repeated answer.

Message Edited by smercurio_fc on 01-03-2007 02:10 PM

0 Kudos
Message 3 of 3
(2,785 Views)