Sign in to follow this  
Followers 0
autosc

Autorun USB flash applications

3 posts in this topic

How can i autorun applications or documents when I insert USB drive on slott , with autoit ?

I used the method for cd , it does not work

[autorun]

.....

......

Although there are shareware programs that do that ....

I just wanted to implement it in my autoit scripts .....

Any ideas ?

Share this post


Link to post
Share on other sites



I think the Autorun is the only real option, if you have a correct autorun.inf then windows XP will ask you if you want to run the program.

The only other way I can think of is to have a script that runs from the PC which looks for a specific file on the pen drive.

;Autorun.inf file

[autorun]
icon=_system\Icon.ico
action="Open the MP3 Organizer"
Open="MP3Organizer.exe"
label="My MP3 player"
UseAutoPlay=1
shellexecute="MP3Organizer.exe"

Share this post


Link to post
Share on other sites

I think the Autorun is the only real option, if you have a correct autorun.inf then windows XP will ask you if you want to run the program.

The only other way I can think of is to have a script that runs from the PC which looks for a specific file on the pen drive.

;Autorun.inf file

[autorun]
icon=_system\Icon.ico
action="Open the MP3 Organizer"
Open="MP3Organizer.exe"
label="My MP3 player"
UseAutoPlay=1
shellexecute="MP3Organizer.exe"

[/quot]

I tried such kind dont work ........

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0