Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69326

System exec displays an error popup

$
0
0

Hi community,

 

in certain cases I need to shut down and restart outlook. In order to do so I a batch file what I want to get rid of and do everything from LabVIEW. When I run the following snippet I receive an error popup complaining that the path is not valid. Which is true because on some computers outlook is in the program files folder, in some computer it is in the program files(x86) folder, but that should not be a problem because of the "IF EXIST". It works fine from the batch file.

 

Please help me out here.

 

Thanks!

 

ps: I know this is not the right way. I would like to use activeX but I have not found any way to actually start outlook. (I need to have it open, not just sending a mail with activeX)

 

system_exec.png

 

 

 

 


Viewing all articles
Browse latest Browse all 69326

Trending Articles