Automatically launch app on USB (through autorun?)

后端 未结 5 1095
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 04:10

Is it possible to automatically launch an application from a USB flash drive (bypassing windows prompt asking user what he wants to do)? on windows XP or vista.

I lo

5条回答
  •  北荒
    北荒 (楼主)
    2020-11-30 04:53

    you need UseAutoplay to let this work on usb.

    and if you take ShellExecute instead of open you can also open scripts/documents/...

    
    [Autorun]
    ShellExecute=System\something.exe
    UseAutoplay=1 
    

提交回复
热议问题