|
|
#1 |
|
Baseband Member
Join Date: Jan 2009
Posts: 72
|
hi, i'm real bored today, after i fixed to vista boot loader thingy, i had nothing else to do, so i thought i'd create an autorun html page for my flash drive to boot my programs from (simple .exe's not a full program)
i'm not the greatest with html, so i just need the link that will open up the program.. i googled it already and got no where, so if anyone knows a way please tell me, and if you don't think it's possible aslo tell me, cuz i don't wanna waste my time |
|
|
|
|
#2 | |
|
Fully Optimized
Join Date: Oct 2008
Posts: 2,345
|
Quote:
I don't think this is possible for security reasons. As far as I know you can only link to the file and have it download(save) or open. Which would depend on the users security settings in the browser being used.
__________________
Everyone's Favorite Turd xD ET: "Phone home!" Geek: "ping 127.0.0.1" "If that guy knew half the $h*t that I know, his fuzzy little head would explode. " - Matthew Farrell |
|
|
|
|
|
#3 |
|
Site Team
Join Date: Jul 2009
Posts: 2,629
|
It's not possible to do this just using HTML, at least not run a program. As pointed out already that'd be silly for security reasons, can you imagine if any website that you pointed your browser at could run whatever it wanted? You can pop up a box that'll ask you whether you want to save or run the program, but that sounds different to what you're after.
This to me sounds like a classic case of using the wrong language for the job, you want something that'll compile and execute on your system, that way you can run whatever programs you like easily - so any language like C, C++, Java, VB.NET etc. would do what you wanted pretty easily. But launching programs directly from HTML pages? That's a complete no no! |
|
|
|
|
#4 |
|
Cheesoid
|
Without writing an ActiveX control (or similar), you couldnt do that. As the above have mentioned, you cannot run things straight from a web browser, as it would be a serious security issue.
If I wanted to do it quickly, I'd consider making a word document with a series of buttons that linked to macro's. These macro's would simply have shell("programpath/programname.exe") in them... |
|
|
|
|
#5 |
|
Site Team
Join Date: Jul 2009
Posts: 2,629
|
Perhaps a stupid point, but wouldn't the simplest way just be a folder of shortcuts?
|
|
|
|
|
#6 |
|
Daemon Poster
Join Date: Jun 2009
Posts: 768
|
I would probably do a .bat.
__________________
Athlon II x2 255 @ 3.1ghz | 4 gb ddr3 ram| 500+80 gb wd hd | Sapphire 5450 | Win7 | Hanns G 20" Toshiba Satellite | Core2Duo @ 2.0 ghz | 3gb ram | 250 gb hd | lolintelgma | Ubuntu 10.04 |
|
|
|
|
#7 |
|
Baseband Member
Join Date: Jan 2009
Posts: 72
|
well i know there is a way.. yoyogames.com when you play a game, you can play it without opening it, and i know it's stupid, i'm just wanted to do something cool with my flash drive
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|