VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



USB AUTORUN

by Kevin Ritch (15 Submissions)
Category: Complete Applications
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (14 Votes)

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.
Code 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

Download USB AUTORUN

Download USB AUTORUN (2 KB)

USB AUTORUN Comments

No comments have been posted about USB AUTORUN. Why not be the first to post a comment about USB AUTORUN.

Post your comment

Subject:
Message:
0/1000 characters