Jump to content

autostart for usb


firmadankt
 Share

Recommended Posts

Hi,

I noticed that there are usbsticks with an autostart function. I mean, you plug in your stick and the software on the stick starts.

Does someone know how this works?

I noticed that there are often two partitions on the device, on fat-partition and one that is formatted like a cd (cdfs) with an autorun.inf. The second partition is able to autostart, becausw windows seems to recognize this as a cd.

But how to bring a "cd", an iso or a cdfs-partition on a usbstick??

thx for answers

Link to comment
Share on other sites

It requires the autorun.inf file, with a few parameters as to what you want it to do. You need to open a notepad document, add the lines of code you want and save it as autorun.inf. Just click save as > all types and call it autorun.inf and put it on the root of your flash drive.

Basically this is what it would contain:

[autorun]
open=setup.exe
icon=icon2.ico

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy