• 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

    • Sound Booster 1.13 Build 575 by Razvan Serea Increase volume on your laptop. Boost the volume of even very quiet speakers. Raise volume above maximum. Letasoft Sound Booster can be used as an extra amplifier when the volume of the program you are listening to is too low for comfortable listening and you feel that your PC’s speakers can produce a louder sound. This can be the case when the audio or video has been recorded at the level below normal. Or, for example, when the other person’s microphone you are talking to on Skype, is not working properly. There can be a plenty of other reasons why the sound is being too quiet and there is not much you can do about it except buy external speakers. Sound of any application that is being played in the system can be amplified up to 500%. Letasoft Sound Booster can raise volume of programs like web browsers, on-line communication software (Teams, Discord, Zoom), any kind of media player or games. Simply put, volume of virtually any program that can play any sound in PC, can be boosted to a comfortable level with Letasoft Sound Booster. You can control current volume with the pop-up slider from the system tray. Alternatively, you can assign system-wide hot keys for increasing and decreasing, and use them when you need to adjust volume Letasoft Sound Booster constantly monitors current gain level and prevents samples from clipping, thus reducing all major sound distortions. Sound Booster 1.13 Build 575 changelog: usability improvements minor bug fixes Download: Letasoft Sound Booster 1.13.0.575 | 5.4 MB (14-Day Free Trial) View: Letasoft Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I own these and the normal QuietComfort ones from Bose. The QC are amazing and I want to love these, but for the life of me, I have a terrible time getting them attached to my ears.
    • Thanks for the tip. I am giving it a try. Initial quick impression: I like it.
    • Welcome to Neowin. Enjoy your time here!
  • Recent Achievements

    • Conversation Starter
      NovaEdgeX earned a badge
      Conversation Starter
    • One Year In
      Console General earned a badge
      One Year In
    • One Year In
      Twozo Technologies earned a badge
      One Year In
    • One Month Later
      Twozo Technologies earned a badge
      One Month Later
    • Week One Done
      Twozo Technologies earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      503
    2. 2
      +Edouard
      184
    3. 3
      PsYcHoKiLLa
      106
    4. 4
      Steven P.
      89
    5. 5
      ATLien_0
      67
  • Tell a friend

    Love Neowin? Tell a friend!