Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mit VBS PID auslesen

Empfohlene Antworten

Hi,

ich habe folgendes Problem :

Ich hab auf meinem server mehrere Wscripte laufen.

ich will aber, wenn etwas schief geht immer genau das richtige Wskript stoppen, sprich den Task beenden!

Dafür brauche ich ja die ProzessID.

Gibt es eine Möglichkeit mit VBs die ProzessID, von z.B einer NOTEPAD-Anwendung herauszulesen.

Vielen Dank im vorraus

Liebe Grüße ten13

das folgende script liefert dir z.b. alle PIDs der Notepad-instanzen, ist es das was du suchst?

strComputer = "."

Set objWMIService = GetObject _

    ("winmgmts:\\" & strComputer & "\root\cimv2")

Set colProcessList = objWMIService.ExecQuery _

    ("Select * from Win32_Process Where Name = 'Notepad.exe'")

For Each objProcess in colProcessList

    msgbox objProcess.ProcessId

Next

s'Amstel

perfekt ich geb dir n götterstatus hast meinen ***** gerettet! :uli

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.