Autorun on USB stick


  1. Posts : 4
    W7 and Vista
       #1

    Autorun on USB stick


    Hi,

    I need some help to make my 20kb USB stick autorun (automatically open) a website link on xp. vista and w7. how do i do that?

    I already have this on the stick...

    [autorun]
    shellexecute=www.websitelink.com

    But when I plug the USB stick on vista, it opens a popup prompting me to view the files first. On W7, I don't get any response at all.

    Am I doing something wrong? The main idea is to open the website automatically (no setting changes to be done on the PC. No special program to be installed. No pop-ups ) when the USB stick is plugged into the port.

    Can someone help please!
      My Computer


  2. Posts : 1,506
    W7 Ult. x64 | OS X
       #2

    It doesn't seem possible, as Windows automatically opens the AutoRun menu instead of following instructions given by the stick.

    Read This: Using AutoRun with a USB Flash Drive / USB stick

    If you really want to add the line anyway, the command you used is the best way to open a website.

    I believe the reason for Windows not automatically following the stick's instructions are to prevent malware/viruses. You could easily run a malicious program or direct the user to a malicious website. I think it's a good think that the menu comes up, you can still use the command and the user will get the option in the AutoRun Menu. You can also change the label of the stick using label=LABELHERE.

       Tip
    For future notice:
    Try to use normal fonts & text. Not only does your "colored" font not help your case, but it may even push others away from helping you as they don't wish to deal with the customization.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:35.
Find Us