Run a VBS file on USB drive when the drive is plugged in


  1. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
       #1

    Run a VBS file on USB drive when the drive is plugged in


    I would like to run my "Example.vbs" file that is located on a USB drive when ever the USB device is plugged into any PC.

    Two wiki-pages AutoPlay AND AutoRun have not helped. I have also searched this forum for AutoRun and AutoPlay ... without relevant success.
    The wiki explanations are complex and I am none the wiser
    I assumed either "AutoPlay" or AutoRun.inf" would lead to success, but so far nothing.

    The USB drive is moved between 6 PCs, 4x Win7 (32/64bit), 1x Win8(64bit) and 1x WinXP(32bit)

    I would appreciate any help :)
      My Computer


  2. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
    Thread Starter
       #2

    UPDATE

    After several hours of searching (and learning) ... cannot be done in Windows 7.
    MS removed the ability in Win7 for security reasons.
    Prevents infections from USB drives.
      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 22:48.
Find Us