Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

Flash Drive

Hello Experts

For one of our marketing promotion we want to buy some flash drives and give them away. What I want to do is when the customers plug in the flash drive I want them to directed to a webpage. How can I do that?
Thanks
0
nbcintern
Asked:
nbcintern
2 Solutions
 
nobusCommented:
can this help? U3    :   http://www.u3.com/
0
 
NAORCCommented:
create a file called autorun.inf on the flash drive and in it type:

[autorun]
open=iexplore http://www.experts-exchange.com

this will automatically open EE on IE when the key is inserted :)

Ben
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
callitCommented:
NAORC's solution should work - but one thing to remember is that with Windows XP SP2 security has increased so that the user will be prompted to ask if they want to launch your autorun.inf file.  You have a few other options when working with autorun too, like using an icon for the drive and giving the action the drive will perform a title:

[autorun]
open=iexplore http://www.experts-exchange.com
icon=icon.ico
action=Visit Experts-Exchange.com
0
 
nbcinternAuthor Commented:
Thanks for all the help. I have a  preloaded the flash drive with a PowerPoint and flash presentation how can I make them load as soon as some one plugs in the flash drive to USB?
0
 
callitCommented:
If you're using MS Office 2003 (it may be available in previous versions, but that's what I'm working with) there's an option under the file menu:   Package For CD - set your options, and click copy to folder.  Put that folder on the flash drive, and have it autorun the play.bat file in that folder.  Doing it this way has the added benefit of packaging the powerpoint viewer so that people can view the presentation even if they don't have powerpoint installed.

So now you have a folder on your USB drive called Presentation with all the files that powerpoint created for you in it.  Your autorun should now be :

[autorun]
open=Presentation\play.bat
icon=icon.ico
action=View Presentation

0
 
callitCommented:
Better yet, I just realized that it also creates an autorun.inf file for you - so just copy everything to the root of the drive, and add "icon=" and "action=" statements if you want.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now