Run .bat files from HTML

Status
Not open for further replies.

Pavica

Banned
Sep 30, 2004
131
0
0
Hi, I'm working on a project for a friend of mine. I built a low profile gaming computer that sits next to his TV. It goes right into the TV, no monitor involved, and the only thing you plug into it is a game pad which also controlls the mouse ;) . I am making a user interface to simplify using this system. I have a program that converts HTML into EXE. Its really great, makes it fullscreen and all, no trace that it is in a browser. So i can make the User Interface load in place of Explorer.exe in windows XP. Here is my problem. How can i make it to where when he clicks on a link in my HTML-UI, it executes an .exe or .bat ??
 

Modeps

Lifer
Oct 24, 2000
17,254
44
91
Honestly, I dont think it's possible through HTML, there would be too many issues with people executing formats, you know those evil men would find a way around any safeguards. I know I've seen it done elsewhere though, in computer gaming centers (to make sure you stay off of the desktop completely).
 

Pavica

Banned
Sep 30, 2004
131
0
0
HA! I Win! I figured it out, so im good. Im going to be making an HTML based UI for windows.
 
Last edited by a moderator:

Modeps

Lifer
Oct 24, 2000
17,254
44
91
Originally posted by: Pavica
HA! I Win! I figured it out, so im good. Im going to be making an HTML based UI for windows.

how'd ya do it?
 
Last edited by a moderator:

Pavica

Banned
Sep 30, 2004
131
0
0
Well , actually, you CANT do it in other browsers (security). But once i compile it into EXE it works fine. I used this:

<a href="file://C:/windows/system32/notepad.exe">Notepad example</a>
 
Status
Not open for further replies.