Melvin Lai
Melvin Lai

Reputation: 901

How to configure an autorun.inf file?

I was wondering if I can create an autorun.inf file that does not run an .exe file. Intstead, it can open up a web browser or plays a video. How do I go about doing these steps? Of course, I do know that some .inf files can be detected as a virus, but this autorun.inf file I wish to do is clean.

Advice on how to do this is appreciated.

Upvotes: 1

Views: 5472

Answers (1)

Timothy Groote
Timothy Groote

Reputation: 8643

basically, everything you put in the open= portion of the .inf will be opened with the default associated application, or executed.

If you put a web address in there like this :

open=http://www.google.com 

it will open google.com in the system's default web browser.

you can (of course) always check the docs Microsoft provides.

http://msdn.microsoft.com/en-us/library/windows/desktop/cc144200(v=vs.85).aspx

Upvotes: 4

Related Questions