• Not Answered

how to run a bat file in DeltaV live?

Hi,

I am stuck on run a bat file, which I thought is very easy because I was taught how to run notepad.exe in Emerson 7425 training.

I successfully started notepad by follow steps:

1. create a private string standard, name "notepad", with value of

"c:\WINDOWS\NOTEPAD.EXE;NoSignatureCheck"

2. for test purpose, use F5 key in layout and its script:

if(key=="F5")

{ENV.RunAsync(GL.Library.notepad, "")}

it failed when I change the value of standard to "c:\test\copy.bat;NoSignatureCheck" , which shall copy 1.txt to 2.txt.

please help!