Discussion Locked

Autorun

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How can i make an autorun on a USB HD stick?
I tried with Autorun.inf as on a CD, but it doesn't work.

2 replies

by joortman

Flash memory is treated as a drive. You could save a boot image file to and boot from it, but I'm not sure if you can create a file to get a program to auto-execute when it's plugged into a USB slot. You could create a program that would run an executable(on the flash disk) when the flash disk is inserted, but it would have to be loaded on the PC/laptop and you would have to reference the executable specifically in your program.

This discussion is closed to new replies.