• 0

[AUTRUN.EXE/AUTORUN.INF] Making One


Question

Hi Folks,

I've created a application using PHP/MySQL. I have XAMPP installed and Firefox Portable on the drive.

What I want to do is when the pen drive is plugged in the autorun should start XAMPP and then open up FFP with the root of the application opened.

A couple of other things. I noticed that even thou my main Firefox is on my C drive FFP opened up with my main FF homepage(s). How would I get FFP to open http://localhost/ everytime (or at least try so the user is prompted).

This really is unchartered territory for me and any help is appreciated.

My autorun.inf is below.

[autorun]
OPEN=xampp\xampp_start.exe
OPEN=FirefoxPortable\App\firefox\ffp.exe
ICON=favicon.ico

Link to comment
https://www.neowin.net/forum/topic/678724-autrunexeautoruninf-making-one/
Share on other sites

22 answers to this question

Recommended Posts

  • 0

I'm really looking to write my own from scratch, I've tried quite a few but none of them do exactly what I want. I don't want someone to do ti for me I just need to guidance as too what I need (tools wise like MS Visual Studio, could I do it all using Flash?)

Hopefully someone will know?

  • 0
why not just make a batch or vbs file to run the commands?

+1

.bat / .vbs / .js are the easiest without having to rely on third-party autorun maker. Batch files should be the easiest. If you know how to run your apps from the command line, just stick em all in the batch file.

Then have Autorun.inf file call the batch file.

  • 0
+1

.bat / .vbs / .js are the easiest without having to rely on third-party autorun maker. Batch files should be the easiest. If you know how to run your apps from the command line, just stick em all in the batch file.

Then have Autorun.inf file call the batch file.

Do you have any good source that would tell me how to do that?

  • 0

Make a file called x.bat (name it anything you like)

start xampp\xampp_start.exe
start FirefoxPortable\App\firefox\ffp.exe http://localhost

Then in your autorun.inf

[autorun]
OPEN=x.bat
ICON=favicon.ico

Edit: Have you checked and made sure that your client's PC hasn't got Autorun disabled?

  • 0

It looks like I need to include the running commands for XAMPP into my bat file as it keeps bringing that error up that I mentioned before.

I'm guessing I can't reverse engineer the exe to see what I need to run to get it to work?

  • 0
It looks like I need to include the running commands for XAMPP into my bat file as it keeps bringing that error up that I mentioned before.

I'm guessing I can't reverse engineer the exe to see what I need to run to get it to work?

Hmm you might have to run MySQL & Apache separately instead of using the xampp launcher.

Try Googling mysql and apache 'command line parameters' and see what they've got on the subject.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • they should stop making bad games that no one asked for
    • Nice rant! Expletive after expletive after expletive. Poor petal, I've touched a nerve. Would you like a tissue to wipe those tears away. Btw, nice one calling Neowin trash. Why would you stick around when you disrespect this site and the people behind it? Just go away if you feel that way.
    • Internet Download Manager (IDM) 6.43 Build 1 by Razvan Serea Internet Download Manager (IDM) is a tool to increase download speeds by up to 8 times due to its smart dynamic file segmentation technology. Unlike other download managers and accelerators, Internet Download Manager segments downloaded files dynamically during download process, and it reuses available connections without additional connect and login stages to achieve the best possible acceleration performance. Comprehensive error recovery and resume capability will restart broken or interrupted downloads due to lost connections, network problems, computer shutdowns, or unexpected power outages. All popular browsers are supported IDM integrates seamlessly into Google Chrome, FireFox, Microsoft Edge, Opera, Safari, Internet Explorer, Maxthon and all other popular browsers to automatically handle your downloads. You can also drag and drop files, or use Internet Download Manager from command line. The program supports proxy servers, ftp and http protocols, firewalls, redirects, cookies, authorization, MP3 audio and video content processing. IDM includes web site spider and grabber IDM downloads all required files that are specified with filters from web sites, for example all pictures from a web site, or subsets of web sites, or complete web sites for offline browsing. It's possible to schedule multiple grabber projects to run them once at a specified time, stop them at a specified time, or run periodically to synchronize changes. Easy downloading with one click When you click on a download link in a browser, IDM will take over the download and accelerate it. You don't need to do anything special, just browse the Internet as you usually do. IDM will catch your downloads and accelerate them. IDM supports HTTP, FTP, HTTPS and MMS protocols. Changes in Internet Download Manager 6.43 Build 1: Added the ability to download MP4 files from web sites where previously only TS videos were available. IDM displays both TS and MP4 file formats in its video download button. If you only need MP4 files, disable TS in IDM Options -> General tab -> Customize IDM Download panels in browsers -> Edit button. Remove TS extension on "Customize IDM Download panel in browsres" dialog Fixed video downloading problems on several popular web sites Fixed bugs Download: Internet Download Manager 6.43 Build 1 | 11.9 MB (Shareware) Links: Internet Download Manager Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • This is of course "clickbait" WTF? It is literally your example but tech based. A "clickbait" title is a sensationalized headline designed to manipulate readers into clicking a link using things like "fear" rather than delivering objective facts. A "clickbait" headline also usually provides little value compared to the hype generated. How does this headline not qualify? It's a generic often reused headline that is overly sensationalized. Oh no! "millions" can't use this app anymore. It has no basic facts like what f*cking app. You read the article and it's the Samsung VPN which no one cares about and there is a million free VPNs. How are you defending this ######? Headlines like this (and among other things) make me read Neowin much less than I used to in the past. It's trash...
  • Recent Achievements

    • Veteran
      branfont went up a rank
      Veteran
    • Reacting Well
      Almohandis earned a badge
      Reacting Well
    • First Post
      Cosminus earned a badge
      First Post
    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      472
    2. 2
      +Edouard
      181
    3. 3
      PsYcHoKiLLa
      120
    4. 4
      Steven P.
      85
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!