Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Now, I m working on a bat file which makes an autorun.inf regarding to given icon by the user, which will make a autorun icon on the external memory.
I need to know that is there any way to set more than two %choice data in batch process??...

Are you asking on how to delete them?
Want A Weekly Update on Latest System Security Problem http://www.systemsecurityinstitute.org

yes.....
in my batch file i want to set 2 choices.....
one choice is user input for user's usb drive..
'n' another choice for users icon path.....i mean that, if it can be like this:
===
set input=
set /p choice=type usb drive:%choice1%
cls
set input=
set /p choice=type icon name without .ico extension:%choice2%
===

Is it me or are these msgs getting daffier by the week?
I don't know what the question is but I know there's no set /p in DOS.
=====================================
If at first you don't succeed, you're about average.M2

Now Read it Carefully (Specially Mechanix2Go)........
I m making a .bat file which has several tools related to USB.....
Such as Formating USB, Making an icon of USB(Using Autorun.inf), ect...ect....All are working fine accept "Making Icon of USB"
now, everyone knows what is autorun.inf.......
ha??....
if you copy a icon to your usb......suppose it is "abc.ico"
then make a new file named "autorun.inf"
and type the following data in it.......
===
[autorun]
icon=abc.ico
===
Then next time you insert the usb to your pc, the drive icon will be "abc.ico"I want my batch file to do same thing........in a user friendly way....
i want that batch file to take 2 user inputs of different data.......(and yes, i dont think msgs r getting daffier, anyones eyes r getting weak......u know the hint......
b'coz i already typed - I M WORKING ON BATCH FILE !!!!!)
does this bold words went to your mind, this time "Mechanix2Go".........."=====================================
If at first you don't succeed, you're about average.M2"
ha....have you ever succeeded......???

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |