Youssef Menjour Posted February 3, 2023 Report Share Posted February 3, 2023 I'm trying to launch a batch with LabVIEW but i have some access restriction. Output of my bat is written in a txt file. When i launch it directly in windows it works. When i try with LabVIEW cmd i have some restriction. Is it possible to make it works with the good cmd ? test.bat my_test.txt Quote Link to comment
ShaunR Posted February 4, 2023 Report Share Posted February 4, 2023 Start is an extension. Remove "start" or enable cmd extensions (/e:on). I'm guessing you think the "/x" is enabling extensions. It's not. There is no "/x". Quote Link to comment
Youssef Menjour Posted February 5, 2023 Author Report Share Posted February 5, 2023 On 2/4/2023 at 1:44 PM, ShaunR said: Start is an extension. Remove "start" or enable cmd extensions (/e:on). I'm guessing you think the "/x" is enabling extensions. It's not. There is no "/x". I have removed start but bat file does not launch why ? How to launch a bat with LabVIEW cmd ? Quote Link to comment
ShaunR Posted February 5, 2023 Report Share Posted February 5, 2023 Have you got a load of spaces before the test.bat string? This works fine. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.