Jump to content

Beim Runterfahren Programm starten


elo22

Recommended Posts

Posted

Gibt es eine Möglichkeit beim beim Runterfahren nach Aufnahme ein Programm zu starten? Ich möchte meinen Server runterfahren lassen.

 

Lutz

Posted
Gibt es eine Möglichkeit beim beim Runterfahren nach Aufnahme ein Programm zu starten?
Das sollte mit stoprec.vbs gehen.

 

mit

OSD.ExecNewProcess "C:\WINDOWS\notepad.exe", "", False, False
kannst du das ein Programm aufrufen.

 

procedure ExecNewProcess(const ProgramName: WideString; const Params: WideString; Wait: WordBool;LowPriority: WordBool); safecall;

 

Executes a external program.

 

parameters

ProgramName

the complete path and name of the program to execute

Params

the parameters for the program. they have to be enclosed in '"'

Wait

True the DVBViewer waits till the other program has finished False no wait

LowPriority

True the program will be executed with low windows priority False the program will be executed with normal windows priority

 

Für das abfragen ob der Rechner heruntergefaren wird müsstestt du mal in DVBViewer COM Interface.chm (Mitgliederbereich nach gucken)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...