how do i make a program autostart?

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator:Moderators

Post Reply
thecheese
Posts:4
Joined:Sun Sep 07, 2008 4:46 pm
how do i make a program autostart?

Post by thecheese » Wed Sep 17, 2008 5:26 pm

How do i make a program thats installed on a USB flash drive autostart when the flash drive is plugged in?

User avatar
Dr. KillGood
Senior Member
Posts:2209
Joined:Sat Jan 21, 2006 1:03 am
Location:Earth

Post by Dr. KillGood » Wed Sep 17, 2008 5:34 pm

Try putting "-run" after the file's location in properties?
Image

thecheese
Posts:4
Joined:Sun Sep 07, 2008 4:46 pm

Post by thecheese » Wed Sep 17, 2008 5:45 pm

nope that didnt work but thanks anyway.

thecheese
Posts:4
Joined:Sun Sep 07, 2008 4:46 pm

Post by thecheese » Wed Sep 17, 2008 6:12 pm

never mind i figured it out. just type the following into note pad and save it as autorun.inf

[autorun]
open="program name".exe
action=Run "program name" Program

leave out the quotes

Post Reply