VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

USB AUTORUN

Kevin Ritch  (15 Submissions)   Complete Applications   Intermediate   Wed 3rd February 2021

This program should be put into the STARTUP folder. It looks to see if a USB Flash Drive has just been inserted and executes the program in the AUTORUN.INF file.
In other words, it enables the CD Style autorun.
No changes are made to the registry and apart from a timer object, it has a very low overhead.

Assumes
The autorun.inf is simply written in the standard format.

Returns
No returns... it simply autoruns any program referenced in the Autorun.inf on a USB Flash Drive just as though it were a CD.

Side Effects
The source code is freely distributable

API Declarations
No API usage. I used the DIR command instead to keep the overheads down.

Rate USB AUTORUN (14(14 Vote))

Download USB AUTORUN

USB AUTORUN Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters