check if exe file is running automation

txerifftxeriff Member Posts: 500
Hi all,

Is there any way to check if a exe file is already running?

I was thinking in an automation dll or something like that

Comments

  • vaprogvaprog Member Posts: 1,140
    It's certainly possible, but I don't know the most efficient way to do so. You could, for instance, start a command shell, execute the tasklist.exe program, redirecting it's output to a file and the read that file from NAV. On RTC you would need to use Automation (or .NET) to launch that external program.

    But do you really need to know. Is the NewServer parameter of the CREATE function not sufficient?
Sign In or Register to comment.