Jump to content

[Q] How to run a .cmd from html?


esp

Recommended Posts


<a href="file:(path to CMD file)" target="_self"><img src="location to your picture" alt="maybe some discribing text?" width="" height="" title="like the ALT option but usefull if you're running Firefox or a simmilar browser" /></a>

This should do the trick.

Link to comment
Share on other sites

Where this all fit in the context of an unattended installation?

he could be trying to make a HTML document that shows up after an unattended installtion that has a bunch of Icons and a description of the program.. then when the user clicks on it, it installs the program... dunno though...

I doubt you could get this to work, or i think we would see a bunch of sites exploiting this making 20,000 copies of calculator start.. lol.

from my knowledge, besides being a HUGE security risk, you might be able to edit the registry to always run .exe files insted of trying to download them.. then at the end when the user presses exit or soemthing.. to make it change this registry setting back to default..

my opinion.. if you want a user to be able to pick which programs to install.. use WPI.. its very good :)

Windows Post-Install Wizard (WPI)

Link to comment
Share on other sites

You could instead of HTML make it a HTA instead as this will run commands.

This HTA uses Jscript and VBS Script to run it functions

This is a HTA that has 6 Radio Buttons that runs winamp this uses Jscript.

The Exit button is VBS script it deletes the hta in %systemdrive%\Winamp_Radio.HTA

if it exists then it taskkill Mshta.exe

Save As Winamp_Radio.HTA

<HTML><HEAD><TITLE>      WinAmp InterNet Radio Stations</TITLE>

<HTA:APPLICATION ID="Gsm_WinAmp_InterNet_Radio" SYSMENU="yes" SCROLL="No"

SCROLLFLAT ="No" SingleInstance="Yes" ShowInTaskbar="No" SysMenu="No" MaximizeButton="No" MinimizeButton="No"

Border="Thin" BORDERSTYLE ="complex" INNERBORDER ="No" Caption="Yes" WindowState="Normal"

APPLICATIONNAME="Radio_WinAmp">

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<script>

//// RADIO BUTTON 1 START JSCRIPT

// CNR ALT Rock THIS CHECKS THEN RUNS WINAMP

function AltRock(File) {

var Act,Drv, fso ,Play, s="";

fso = new ActiveXObject("Scripting.FileSystemObject");

Act = new ActiveXObject("Wscript.Shell");

File = Act.ExpandEnvironmentStrings("%systemdrive%\\Program Files\\Winamp\\winamp.exe");

if (fso.FileExists(File))

Act.Run("http://www.clubnetradio.com/listen/altrock/high.pls");

else

window.alert (s + File + " can not be found.");

return(s);

}

//ALTROCK POPUP

function Popup9001(Text) {

if (Pop1a.style.visibility == "hidden") {

Pop1a.style.visibility = ""

Pop1b.style.visibility = ""

Pop1c.style.visibility = ""

}

else {

Pop1a.style.visibility = "hidden"

Pop1b.style.visibility = "hidden"

Pop1c.style.visibility = "hidden"

}

}

//// RADIO BUTTON 2 START JSCRIPT

// CNR Dance THIS CHECKS THEN RUNS WINAMP

function CNRDance(File){

var Act,Drv, fso ,Play, s="";

fso = new ActiveXObject("Scripting.FileSystemObject");

Act = new ActiveXObject("Wscript.Shell");

File = Act.ExpandEnvironmentStrings("%systemdrive%\\Program Files\\Winamp\\winamp.exe");

if (fso.FileExists(File))

Act.Run("Http://www.clubnetradio.com/listen/dance/high.pls");

else

window.alert (s + File + " can not be found.");

return(s);

}

//// DANCE POPUP

function Popup9002(Text) {

if (Pop2a.style.visibility == "hidden") {

Pop2a.style.visibility = ""

Pop2b.style.visibility = ""

Pop2c.style.visibility = ""

}

else {

Pop2a.style.visibility = "hidden"

Pop2b.style.visibility = "hidden"

Pop2c.style.visibility = "hidden"

}

}

//// RADIO BUTTON 3 START JSCRIPT

// Di.Fm DjMixes THIS CHECKS THEN RUNS WINAMP

function Djmixes(File){

var Act,Drv, fso ,Play, s="";

fso = new ActiveXObject("Scripting.FileSystemObject");

Act = new ActiveXObject("Wscript.Shell");

File = Act.ExpandEnvironmentStrings("%systemdrive%\\Program Files\\Winamp\\winamp.exe");

if (fso.FileExists(File))

Act.Run("Http://www.di.fm/mp3/djmixes.pls");

else

window.alert (s + File + " can not be found.");

return(s);

}

//DjMixes POPUP

function Popup9003(Text) {

if (Pop3a.style.visibility == "hidden") {

Pop3a.style.visibility = ""

Pop3b.style.visibility = ""

Pop3c.style.visibility = ""

}

else {

Pop3a.style.visibility = "hidden"

Pop3b.style.visibility = "hidden"

Pop3c.style.visibility = "hidden"

}

}

//// RADIO BUTTON 4 START JSCRIPT

// Di.Fm EuroDance THIS CHECKS THEN RUNS WINAMP

function EuroDance(File){

var Act,Drv, fso ,Play, s="";

fso = new ActiveXObject("Scripting.FileSystemObject");

Act = new ActiveXObject("Wscript.Shell");

File = Act.ExpandEnvironmentStrings("%systemdrive%\\Program Files\\Winamp\\winamp.exe");

if (fso.FileExists(File))

Act.Run("Http://www.di.fm/mp3/eurodance.pls");

else

window.alert (s + File + " can not be found.");

return(s);

}

//EURODANCE POPUP

function Popup9004(Text) {

if (Pop4a.style.visibility == "hidden") {

Pop4a.style.visibility = ""

Pop4b.style.visibility = ""

Pop4c.style.visibility = ""

}

else {

Pop4a.style.visibility = "hidden"

Pop4b.style.visibility = "hidden"

Pop4c.style.visibility = "hidden"

}

}

//// RADIO BUTTON 5 START JSCRIPT

// Di.Fm Trance THIS CHECKS THEN RUNS WINAMP

function Trance(File){

var Act,Drv, fso ,Play, s="";

fso = new ActiveXObject("Scripting.FileSystemObject");

Act = new ActiveXObject("Wscript.Shell");

File = Act.ExpandEnvironmentStrings("%systemdrive%\\Program Files\\Winamp\\winamp.exe");

if (fso.FileExists(File))

Act.Run("Http://www.di.fm/mp3/trance.pls");

else

window.alert (s + File + " can not be found.");

return(s);

}

//TRANCE

function Popup9005(Text) {

if (Pop5a.style.visibility == "hidden") {

Pop5a.style.visibility = ""

Pop5b.style.visibility = ""

Pop5c.style.visibility = ""

}

else {

Pop5a.style.visibility = "hidden"

Pop5b.style.visibility = "hidden"

Pop5c.style.visibility = "hidden"

}

}

//// RADIO BUTTON 6 START JSCRIPT

// Di.Fm VocalTrance THIS CHECKS THEN RUNS WINAMP

function VTrance(File){

var Act,Drv, fso ,Play, s="";

fso = new ActiveXObject("Scripting.FileSystemObject");

Act = new ActiveXObject("Wscript.Shell");

File = Act.ExpandEnvironmentStrings("%systemdrive%\\Program Files\\Winamp\\winamp.exe");

if (fso.FileExists(File))

Act.Run("Http://www.di.fm/mp3/vocaltrance.pls");

else

window.alert (s + File + " can not be found.");

return(s);

}

//VOCALTRANCE POPUP

function Popup9006(Text) {

if (Pop6a.style.visibility == "hidden") {

Pop6a.style.visibility = ""

Pop6b.style.visibility = ""

Pop6c.style.visibility = ""

}

else {

Pop6a.style.visibility = "hidden"

Pop6b.style.visibility = "hidden"

Pop6c.style.visibility = "hidden"

}

}

//EXIT BUTTON POPUP

function Popup9007(Text) {

if (Pop7a.style.visibility == "hidden") {

Pop7a.style.visibility = ""

Pop7b.style.visibility = ""

Pop7c.style.visibility = ""

}

else {

Pop7a.style.visibility = "hidden"

Pop7b.style.visibility = "hidden"

Pop7c.style.visibility = "hidden"

}

}

</SCRIPT>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<script language="vbscript">

Const Hidden = 0, Normal = 1, Min = 2

window.resizeTo 500,175 : window.moveTo 550, 375 '''' RESIZES HTA AND PLACES IT

Function ExitHta

'''' THIS CHECKS FOR THE HTA DELETES IT IF FOUND AND TASKKILL MSHTA.EXE

Dim Act : Set Act = CreateObject("Wscript.Shell")

Dim SD : SD = Act.ExpandEnvironmentStrings("%systemdrive%\Winamp_Radio.HTA")

Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")

If Fso.FileExists(SD) Then

Fso.DeleteFile(SD)

end if

Act.Run("%comspec% /c TASKKILL /F /T /IM Mshta.exe"),Hidden,true

End Function

</SCRIPT>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- MAIN BODY BACKGROUND -->

</HEAD><body SCROLL="no" STYLE= "8.75pt Palatino Linotype; color:#006c6c;

filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0, StartColorStr='#e8e4de', EndColorStr='#c7c3be')">

<!--[if gte vml 1]><v:background id="_x0000_s1025" o:bwmode="white" Scroll="NO"

fillcolor="#c7c3be" o:targetscreensize="491,165">

<v:fill color2="#e8e4de", focusposition=".75,-.75" focussize="100"

type="gradientRadial"/></v:background><![endif]-->

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<p class=MsoNormal align=center><TABLE>

<Span Id=WinampLabel STYLE="font:9.75pt Palatino Linotype;color:#0000ab;font-weight: Bold-Italic;">

<Center>Listen to some Internet Radio using Winamp Media Player</Center><span>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- ALTROCK BACKGROUND -->

<td id="msviRegionGradient2" width="85" STYLE="font:8.75pt Palatino Linotype;color:#000080;font-weight:

Bold-Italic;" style="filter:progid:DXImageTransform.Microsoft.Gradient

(startColorStr='#eeeeee', endColorStr='#c7c3be', gradientType='0')">

<!-- ALTROCK BUTTON 1-->

<input type="radio" language="vbscript" Title="" name="RadioOption" value="0"

onClick="AltRock('File')" OnMouseOver="Popup9001('Text')" OnMouseOut="Popup9001('Text')">

<Font Title="" OnMouseOver="Popup9001('Text')" OnMouseOut="Popup9001('Text')">Radio 1</Font></TD>

<!-- ALTROCK POPUP TEXT MAKES THE BACKGROUND TRANSPARENT-->

<Div id="Pop1a" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1;

background-color: white;filter:progid:DXImageTransform.alpha(opacity=100)filter:progid:

DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')">

</DIV><Center>

<!-- ALTROCK POPUP TEXT TOP LABEL -->

<DIV id="Pop1b" style="visibility:hidden; color:red; position:absolute;top:55; left:30;

width:375; height:20; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic; text-align:Center">

AltRock</P></DIV></Center><Center>

<!-- ALTROCK POPUP TEXT BOTTOM LABEL -->

<DIV id="Pop1c" style="visibility:hidden; color:red; position:absolute; top:71; left:40; width:375;

height:16; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#0000ab;font-weight:Bold-Italic; text-align:Left">

Listen To ClubNetRadio AltRock with Winamp Media Player

</P></DIV></Center></Center>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- DANCE BACKGROUND -->

<td id="msviRegionGradient2" width="85" STYLE="font:8.75pt Palatino Linotype;color:#000080;font-weight:

Bold-Italic;" style="filter:progid:DXImageTransform.Microsoft.Gradient

(startColorStr='#eeeeee', endColorStr='#c7c3be', gradientType='0')">

<!-- DANCE BUTTON 2-->

<input type="radio" language="vbscript" Title="" name="RadioOption" value="1"

onClick="CNRDance('File')" OnMouseOver="Popup9002('Text')" OnMouseOut="Popup9002('Text')">

<Font Title="" OnMouseOver="Popup9002('Text')" OnMouseOut="Popup9002('Text')">Radio 2</Font></TD>

<!-- DANCE POPUP TEXT MAKES THE BACKGROUND TRANSPARENT-->

<Div id="Pop2a" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1;

background-color: white; filter:progid:DXImageTransform.alpha(opacity=100);filter:progid:

DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')">

</DIV><Center>

<!-- DANCE POPUP TEXT TOP LABEL -->

<DIV id="Pop2b" style="visibility:hidden; color:red; position:absolute; top:55; left:30;

width:375; height:20; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic; text-align:Center">

Dance</P></DIV> </Center><Center>

<!-- DANCE POPUP TEXT BOTTOM LABEL -->

<DIV id="Pop2c" style="visibility:hidden; color:red; position:absolute; top:71; left:40; width:375;

height:16; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#0000ab;font-weight:Bold-Italic; text-align:Left">

Listen To ClubNetRadio Dance with Winamp Media Player

</P></DIV></Center></Center>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- DJMIXES BACKGROUND -->

<td id="msviRegionGradient2" width="85" STYLE="font:8.75pt Palatino Linotype;color:#000080;font-weight:

Bold-Italic;" style="filter:progid:DXImageTransform.Microsoft.Gradient

(startColorStr='#eeeeee', endColorStr='#c7c3be', gradientType='0')">

<!-- DJMIXES BUTTON 3-->

<input type="radio" language="vbscript" Title="" name="RadioOption" value="3"

onClick="Djmixes('File')" OnMouseOver="Popup9003('Text')" OnMouseOut="Popup9003('Text')">

<Font Title="" OnMouseOver="Popup9003('Text')" OnMouseOut="Popup9003('Text')">Radio 3</Font></TD>

<!-- DJMIXES POPUP TEXT MAKES THE BACKGROUND TRANSPARENT-->

<Div id="Pop3a" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1;

background-color: white; filter:progid:DXImageTransform.alpha(opacity=100);filter:progid:

DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')">

</DIV><Center>

<!-- DJMIXES POPUP TEXT TOP LABEL -->

<DIV id="Pop3b" style="visibility:hidden; color:red; position:absolute; top:55; left:30; width:375;

height:20; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic; text-align:Center">

DJMixes</P></DIV> </Center><Center>

<!-- DANCE POPUP TEXT BOTTOM LABEL -->

<DIV id="Pop3c" style="visibility:hidden; color:red; position:absolute; top:71; left:40; width:375;

height:16; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#0000ab;font-weight:Bold-Italic; text-align:Left">

Listen To WWW.Di.Fm DJMixes with Winamp Media Player

</P></DIV></Center></Center>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- EURODANCE BACKGROUND -->

<td id="msviRegionGradient2" width="85" STYLE="font:8.75pt Palatino Linotype;color:#000080;font-weight:

Bold-Italic;" style="filter:progid:DXImageTransform.Microsoft.Gradient

(startColorStr='#eeeeee', endColorStr='#c7c3be', gradientType='0')">

<!-- EURODANCE BUTTON 4-->

<input type="radio" language="vbscript" Title="" name="RadioOption" value="3"

onClick="EuroDance('File')" OnMouseOver="Popup9004('Text')" OnMouseOut="Popup9004('Text')">

<Font Title="" OnMouseOver="Popup9004('Text')" OnMouseOut="Popup9004('Text')">Radio 4</Font></TD>

<!-- EURODANCE POPUP TEXT MAKES THE BACKGROUND TRANSPARENT-->

<Div id="Pop4a" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1;

background-color: white; filter:progid:DXImageTransform.alpha(opacity=100);filter:progid:

DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')">

</DIV><Center>

<!-- EURODANCE POPUP TEXT TOP LABEL -->

<DIV id="Pop4b" style="visibility:hidden; color:red; position:absolute; top:55; left:30; width:375;

height:20; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic; text-align:Center">

EuroDance</P></DIV> </Center><Center>

<!-- EURODANCE POPUP TEXT BOTTOM LABEL -->

<DIV id="Pop4c" style="visibility:hidden; color:red; position:absolute; top:71; left:40; width:375;

height:16; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#0000ab;font-weight:Bold-Italic; text-align:Left">

Listen To WWW.Di.Fm EuroDance with Winamp Media Player

</P></DIV></Center></Center>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- TRANCE BACKGROUND -->

<td id="msviRegionGradient2" width="85" STYLE="font:8.75pt Palatino Linotype;color:#000080;font-weight:

Bold-Italic;" style="filter:progid:DXImageTransform.Microsoft.Gradient

(startColorStr='#eeeeee', endColorStr='#c7c3be', gradientType='0')">

<!-- TRANCE BUTTON 5-->

<input type="radio" language="vbscript" Title="" name="RadioOption" value="4"

onClick="Trance('File')" OnMouseOver="Popup9005('Text')" OnMouseOut="Popup9005('Text')">

<Font Title="" OnMouseOver="Popup9005('Text')" OnMouseOut="Popup9005('Text')">Radio 5</Font></TD>

<!-- TRANCE POPUP TEXT MAKES THE BACKGROUND TRANSPARENT-->

<Div id="Pop5a" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1;

background-color: white; filter:progid:DXImageTransform.alpha(opacity=100);filter:progid:

DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')">

</DIV><Center>

<!-- TRANCE POPUP POPUP TEXT TOP LABEL -->

<DIV id="Pop5b" style="visibility:hidden; color:red; position:absolute; top:55; left:30; width:375;

height:20; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic; text-align:Center">

Trance</P></DIV> </Center><Center>

<!-- TRANCE POPUP POPUP TEXT BOTTOM LABEL -->

<DIV id="Pop5c" style="visibility:hidden; color:red; position:absolute; top:71; left:40; width:375;

height:16; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#0000ab;font-weight:Bold-Italic; text-align:Left">

Listen To WWW.Di.Fm Trance with Winamp Media Player

</P></DIV></Center></Center>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- VOCAL TRANCE BACKGROUND -->

<td id="msviRegionGradient2" width="85" STYLE="font:8.75pt Palatino Linotype;color:#000080;font-weight:

Bold-Italic;" style="filter:progid:DXImageTransform.Microsoft.Gradient

(startColorStr='#eeeeee', endColorStr='#c7c3be', gradientType='0')">

<!-- VOCAL TRANCE BUTTON 6-->

<input type="radio" language="vbscript" Title="" name="RadioOption" value="5"

onClick="VTrance('File')" OnMouseOver="Popup9006('Text')" OnMouseOut="Popup9006('Text')">

<Font Title="" OnMouseOver="Popup9006('Text')" OnMouseOut="Popup9006('Text')">Radio 6</Font></TD>

<!-- VOCAL TRANCE POPUP TEXT MAKES THE BACKGROUND TRANSPARENT-->

<Div id="Pop6a" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1;

background-color: white; filter:progid:DXImageTransform.alpha(opacity=100);filter:progid:

DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')">

</DIV><Center>

<!-- VOCAL TRANCE POPUP TEXT TOP LABEL -->

<DIV id="Pop6b" style="visibility:hidden; color:red; position:absolute; top:55; left:30; width:375;

height:20; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic; text-align:Center">

Vocal Trance</P></DIV> </Center><Center>

<!-- VOCAL TRANCE POPUP TEXT BOTTOM LABEL -->

<DIV id="Pop6c" style="visibility:hidden; color:red; position:absolute; top:71; left:40; width:375;

height:16; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#0000ab;font-weight:Bold-Italic; text-align:Left">

Listen To WWW.Di.Fm Vocal Trance with Winamp Media Player

</P></DIV></Center></Center></TABLE><TABLE Hieght="35"> </TABLE>

<!-- ======================= SCRIPT SEPARATOR ======================= -->

<!-- EXIT TABLE -->

<p class=MsoNormal align=Right><TABLE>

<!-- EXIT BUTTON -->

<input type=button language="vbscript" value="Exit" STYLE="font:9.75pt Palatino Linotype;

color:Red;font-weight: Bold-Italic;" onclick="ExitHta : Window.close"

OnMouseOver="Popup9007('Text')" OnMouseOut="Popup9007('Text')">

<!-- EXIT POPUP TEXT MAKES THE BACKGROUND TRANSPARENT-->

<Div id="Pop7a" style="visibility:hidden; position:absolute; top:1; Left:1; width:1; height:1;

background-color: white; filter:progid:DXImageTransform.alpha(opacity=100);filter:progid:

DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bbb7b3', EndColorStr='#c4c0bb')">

</DIV><Center>

<!-- EXIT POPUP POPUP TEXT TOP LABEL -->

<DIV id="Pop7b" style="visibility:hidden; color:red; position:absolute; top:55; left:30; width:375;

height:20; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#006c6c;font-weight:Bold-Italic; text-align:Center">

Exit Hta</P></DIV> </Center><Center>

<!-- EXIT POPUP POPUP TEXT BOTTOM LABEL -->

<DIV id="Pop7c" style="visibility:hidden; color:red; position:absolute; top:71; left:40; width:375;

height:16; margin-top:5; margin-left:5;">

<P STYLE="font:8.75pt Palatino Linotype;color:#0000ab;font-weight:Bold-Italic; text-align:Left">

Press To close this Hta Application, Thanks you for using this.

</P></DIV></Center></Center>

</TABLE></BODY></HTML>

I haved added this a SFX file.

Edited by gunsmokingman
Link to comment
Share on other sites

@Bi0haZarD

lol, that would be interesting; making 2000 copies of calculator to start.

What I am trying to do is creating a html file that starts up via WPI so you can choose wich startupscreen you want to be installed. You would click on a picture to get that bootscreen at next startup.

Look at the attachment. Not all pictures included, file was too large.

@gunsmokingman

Thanks, I'll look into that. I searched on the web a whole lot and yes, it's possible but a pain in the b..

Bootskin_html.7z

Edited by esp
Link to comment
Share on other sites

Here is another suggestion from myself, might be a little easier to understand too.

<html>
<body>
<head>
<title> RUN PROGRAM</title>
<script language="JavaScript" type="text/javascript">
/*
WhichType Variable Definations
1 = Execute Command
2 = Open Directory
*/

function RunIt(whichtype, whattoexec){
if(whichtype == 1) oShell.ShellExecute(whattoexec, "", "", "open", "1");
if(whichtype == 2) oShell.Open(whattoexec);
}
</script>
</head>
<body onLoad="RunIt(1, 'c:\\winnt\\system32\\calc.exe');">
<OBJECT ID="oShell" CLASSID="clsid:13709620-C279-11CE-A49E-444553540000"></OBJECT>
</body>
</html>

** change the path to where ever calc.exe actually exists (be sure to double up on your slashes :thumbup) **

Forgot to mention, you gotta run this within a HTA within Windows XP, otherwise you get the annoying ActiveX allow/deny message

Edited by hazard_abio
Link to comment
Share on other sites

Thanks, I knew it was a good idea. But I'm not that good in vb or js, let alone I have the time. Gotta support the wife you know.

Gunsmokingman suggested taking over the project so I am happy someone will make my idea happen.

I will attach the rest of the images.

Ofcourse I also have all the corresponding ntoskrnl.exe files that I made myself. But they are all about 2.5mb a piece. Any suggestions of where to upload all that? I used up all my spare time making them.

I downloaded a bunch of files I liked and fiddled with them until they were just right for my taste. Photoshop is my thing.

The names of the jpg files have been altered, I played with them a lot but they are all there.

A new 'start' html file with the right names is also in attachment!

Bootskin_html_p2.7z

Bootskin_html_p3.7z

Bootskin_html_p4.7z

start.7z

Edited by esp
Link to comment
Share on other sites

Ok, i uploaded all the .exe bootscreens.

They are made for use with single processor. Ofcourse you need other hacked windows files to use these, all info on the homepage; http://unattended.msfn.org/advanced/cosmetics/bootscreen.htm

If gunsmokingman will be so kind to finish his script.

new uploads as f 18-12-2005

http://rapidshare.de/files/9360990/part1.7z.html

http://rapidshare.de/files/9361072/part2.7z.html

http://rapidshare.de/files/9361109/part3.7z.html

http://rapidshare.de/files/9361159/part4.7z.html

http://rapidshare.de/files/9361223/part5.7z.html

Bye

Edited by esp
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...