Wednesday, 26 October 2016

Wincc VBS(VBScript) for close an application(.exe)

This script is useful in closing an application(.exe) in taskmanager. This script is common for Wincc Advanced, Wincc Professional. For Wincc 7.x the tag declaration will change

Dim kei
Set kei = CreateObject("Wscript.Shell")
kei.Run "taskkill /im Datalog.exe", , True
Set kei= Nothing

No comments:

Post a Comment