about inf file [solved]

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

about inf file [solved]

#1 Post by abc0502 » 11 Mar 2012 22:48

I use autorun.ini file in my usb to launch application when start
is there away i can put two programs in the start menu of the usb "the menu that start when inserting the usb"
here is my ini file

Code: Select all

[Autorun]
Icon=icon\Star.ico
Label=MyUSB
open=Executor\Executor.exe
Action=Executor

sorry to post this here it's not a dos related topic but i'm desperate. :cry:
Last edited by abc0502 on 12 Mar 2012 02:53, edited 2 times in total.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: about ini file

#2 Post by foxidrive » 12 Mar 2012 01:50

Can you open a batch file instead?

abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

Re: about ini file

#3 Post by abc0502 » 12 Mar 2012 01:57

yes, just need a 2nd option on the autorun menu

abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

Re: about inf file

#4 Post by abc0502 » 12 Mar 2012 02:35

i had an idea from your question so i created a batch with a menu containing my programs that i might need to launch
but i have a question

is there a way i can launch the application when iserting the program number without the enter
like the pause command when pressing any key it continue wihtout the need to press enter key?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: about inf file

#5 Post by foxidrive » 12 Mar 2012 02:40

Launching a program by just pressing a number/letter was traditionally done using the choice.exe command and which is now back in Win7 I think.

You can find third party versions of 'choice' also.

abc0502
Posts: 1007
Joined: 26 Oct 2011 22:38
Location: Egypt

Re: about inf file

#6 Post by abc0502 » 12 Mar 2012 02:52

ok thanks

Post Reply