Jörg Lorenz: Mit VBScript Programm aufrufen

Beitrag lesen

Hi *jiriki*,

<script type="text/vbscript" language="vbscript">

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run("C:\Programme\RagTime\ragtime.exe")

</script>

versuch's mal so:

<html>  
<head>  
<script type="text/vbscript" language="vbscript">  
sub test  
Set WSHShell = CreateObject("WScript.Shell")  
WSHShell.Run "E:\Backupprogramm\EasyBackup.exe"  
end sub  
</script>  
</head>  
<body onload="test">  
test  
blah  
</body>

Viele Grüße

Jörg