Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
Die Problemzone Spinnt der Rechner mal wieder? Stellt eure Fragen hier und es wird geholfen.

Datein mit VBS aufrufen?

Diskussion: Datein mit VBS aufrufen? im Forum Die Problemzone, in der Kategorie PC Foren; Anzeige Hallo Leutz, mal ne kleine Frage, ich habe BatchDatein, die ich in HTML aufrufen möchte. Habe ich eine möglichkeit ...

Antwort
Alt 18.04.06, 18:08   #1 (permalink)
 
Registriert seit: 16.02.04
choasman Leistung: Facit NTK
Likes: 0
Standard Datein mit VBS aufrufen?

Anzeige

Hallo Leutz,

mal ne kleine Frage, ich habe BatchDatein, die ich in HTML aufrufen möchte.

Habe ich eine möglichkeit die direkt in HTML aufzurufen, ohne das bestätigt werden muss, das die Datei wirklich aufgerufen wird! (z.B. mit VBS)??

Gruß

Benni

choasman ist offline   Mit Zitat antworten
Alt 18.04.06, 18:57   #2 (permalink)
Member of Honour
 
Benutzerbild von ivegotmail
 
Registriert seit: 28.05.03
ivegotmail Leistung: Z3
Likes: 1
Standard

schau dir mal den run: Protocol Handler 1.0 & 2.0 an.

Zitat:
Description :

-------------

Ever wanted to launch a program or document from an html page?

Doing this using an "<a href="filename.ext">Open/run</a>" type of link,

will allways cause a download dialog, asking if you want to 'save as ...' or

'open from current location'. Now, if you want to run applications directly from an HTML launcher

(an Active desktop theme for example), this is just bullshit.


This protocol handler will take care of this. After installation, you will be able to specify url's of the following kind :


<a href="run:x:\path\filename.ext">Click here to run!</a>


The specified application or document will open immediately, without asking for confirmation!

Executables will be run, documents will be opened with their associated program.
Auszug aus dem manual.
__________________
http://livehabo.hackerboard.de | http://livebb.sourceforge.net
ivegotmail ist offline   Mit Zitat antworten
   
HaBOT
 
- Anzeige -

Werbung ist gerade online    
Alt 19.04.06, 15:22   #3 (permalink)
 
Registriert seit: 16.05.05
HackJack Leistung: Facit NTK
Likes: 0
Standard

oder

Code:
<script language="vbscript">

sub start()               
        Set wsh = CreateObject("WScript.Shell")
        wsh.Run("C:\System32\NOTEPAD.exe")
end sub

</script>

<input type="button" onclick="start()">
HackJack ist offline   Mit Zitat antworten
Alt 19.04.06, 17:59   #4 (permalink)
TjP
 
Registriert seit: 06.02.06
TjP Leistung: Facit NTK
Likes: 0
Standard

Aber merke: Firefox zum Beispiel unterstützt VBS nicht.
TjP ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » PC Foren » Die Problemzone » Datein mit VBS aufrufen?
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
c-funktion in assembler aufrufen Alive Code Kitchen 1 09.05.09 21:07
C - Funktionen aufrufen+abarbeiten tanj Code Kitchen 3 04.11.07 21:22
Mit eggdrop-tcl webseite aufrufen boehmi Code Kitchen 4 14.09.06 15:24
VB Datei aufrufen HackerXp Code Kitchen 5 03.02.05 15:24
.exe Datei Aufrufen usher200218 (Web-) Design und webbasierte Sprachen 7 23.05.04 04:28


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61