sancas Posted November 2, 2008 Share Posted November 2, 2008 Hi I'm creating a program that is installed on a USB stick but I would like to know which command or function can make the program know what hard disks that are available in the computer to install this application on whose unit; someone could help me? Link to comment Share on other sites More sharing options...
Bert Posted November 2, 2008 Share Posted November 2, 2008 (edited) http://www.autoitscript.com/forum/index.ph...st&p=597082Welcome to the Forum!remember, you can use the search feature to find what you need quickly. For example, I used the keyword "USB" and came up with this result:http://www.autoitscript.com/forum/index.ph...highlite=%2BUSB Edited November 2, 2008 by Volly The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
sancas Posted November 2, 2008 Author Share Posted November 2, 2008 http://www.autoitscript.com/forum/index.ph...st&p=597082 Welcome to the Forum! remember, you can use the search feature to find what you need quickly. For example, I used the keyword "USB" and came up with this result: http://www.autoitscript.com/forum/index.ph...highlite=%2BUSB lol sorry I dont search. but other question when the usb has been detect; this the code. $var = DriveGetDrive( "REMOVABLE" ) If NOT @error Then MsgBox(0, "Buscando Dispositivo", "Se encontraron " & $var[0] & " dispositivos") For $i = 1 to $var[0] MsgBox(0, "Dispositivo " & $i, $var[$i]) Next EndIf I need that when he launched the code after launching a small drop-down menu to give me a choice in which device I would like to install the program E, D, F, and others, and when they choose the device you want to run and install all the things in that unit; know how can I do? Link to comment Share on other sites More sharing options...
Bert Posted November 2, 2008 Share Posted November 2, 2008 lol sorry I dont search. but other question when the usb has been detect; this the code. $var = DriveGetDrive( "REMOVABLE" ) If NOT @error Then MsgBox(0, "Buscando Dispositivo", "Se encontraron " & $var[0] & " dispositivos") For $i = 1 to $var[0] MsgBox(0, "Dispositivo " & $i, $var[$i]) Next EndIf I need that when he launched the code after launching a small drop-down menu to give me a choice in which device I would like to install the program E, D, F, and others, and when they choose the device you want to run and install all the things in that unit; know how can I do?well, Look at the file, directory and disk management section of the help file. You should see what you need there, along with the many examples of code to show you what you need. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now