G
G
glodev2017-05-30 12:12:32
Windows
glodev, 2017-05-30 12:12:32

Auto launch of the program from a flash drive on win7 and higher?

Good afternoon, I'm interested in launching *.exe from a flash drive automatically when installed in a flash drive socket, on Windows 7 this can be done by flashing a flash drive, please give information or explain how to implement it, only good intentions)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
glodev, 2017-05-30
@glodev

video found even a video solution

S
Saboteur, 2017-05-30
@saboteur_kiev

On the flash drive, you simply create the autorun.inf file, in which you specify what you need to run, like this:

[autorun]
ICON=autorun\myprog.ico
OPEN=autorun\myprog.exe

For media discs, there may also be shell and action, but in general, in Windows properties, autorun of something is usually disabled by default for a long time, so as not to get infected from left-hand media. So there is no reliable way for ordinary flash drives.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question