| View previous topic :: View next topic |
| Author |
Message |
itayzoro
Joined: 23 Jan 2008 Posts: 22
|
Posted: Mon Jan 28, 2008 2:19 pm Post subject: Dump the USB devices 2 a TXT |
|
|
| i there a way 2 Dump USB devices 2 a TXT or other Hardware without use of 3 Party software? |
|
| Back to top |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 722 Location: Florida
|
Posted: Tue Jan 29, 2008 6:13 am Post subject: |
|
|
I'm not sure if I understand the question - What are you trying to do, exactly? _________________ [Join IRC!]
 |
|
| Back to top |
|
 |
raven-gm
Joined: 25 Mar 2007 Posts: 24
|
Posted: Tue Jan 29, 2008 6:47 am Post subject: Re: Dump the USB devices 2 a TXT |
|
|
| itayzoro wrote: | | i there a way 2 Dump USB devices 2 a TXT or other Hardware without use of 3 Party software? |
I think he wants a list of the currently plugged in usb devices. I assume it's possible but I do not know the DLL call.
Then you would just FileAppend it, I think. _________________ I would like to think that I know what I'm doing, but there's just to much stuff I've yet to learn... |
|
| Back to top |
|
 |
itayzoro
Joined: 23 Jan 2008 Posts: 22
|
Posted: Tue Jan 29, 2008 8:58 am Post subject: |
|
|
Raven thats what i need
but Dump of the all Hardware could do the job |
|
| Back to top |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 722 Location: Florida
|
Posted: Tue Jan 29, 2008 4:43 pm Post subject: |
|
|
DriveGet will do what you need, I think. (Probably using the REMOVABLE flag)
http://www.autohotkey.com/docs/commands/DriveGet.htm
Edit: I misread what you were looking for - That would give you a list of USB drives, but not all USB devices. I'll try and see if there's something else that will work...
Edit2: Check this out - There must be a DLL call you can make to return attached USB devices and information about them... Maybe check MSDN?
Edit3: I updated the link above to the author's website - Maybe this info is read from the registry? _________________ [Join IRC!]

Last edited by Rhys on Tue Jan 29, 2008 4:57 pm; edited 1 time in total |
|
| Back to top |
|
 |
BoBo¨ Guest
|
Posted: Tue Jan 29, 2008 4:57 pm Post subject: |
|
|
Have you hugged your Search today? [Device Management] |
|
| Back to top |
|
 |
itayzoro
Joined: 23 Jan 2008 Posts: 22
|
Posted: Tue Jan 29, 2008 5:34 pm Post subject: Devcon |
|
|
Devcon is good Idea 4 this BUT ITS NOT BUILD IN XP so is there anyway 2 Append it into the script and compile 2 1 EXE file
if so plz hlp
BTW this is the script Work gr8 2 find Which touch i use :
#NoTrayIcon
#SingleInstance, Force
RunWait,%comspec% /c devcon find usb\* > C:\usb.txt,,Hide
Fileread, usblist, C:\usb.txt
Filedelete, C:\usb.txt
Loop, Parse, usblist, `n, `r %A_Space%
{
IfInString, usblist,Elo TouchSystems 2216 AccuTouch® USB Touchmonitor Interface
msgbox,Elo
IfInString, usblist,Touch Driver
msgbox,One Touch
IfInString, usblist,USB Touchscreen Controller(Universal)
msgbox,Eturbo NEW
IfInString, usblist,Touchkit USB
msgbox,Eturbo OLD
break
} |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jan 29, 2008 5:46 pm Post subject: |
|
|
| Code: | | RunWait,%comspec% /c devcon find usb\* > C:\usb.txt,,Hide |
Finally you got it!!
haleluia!!! |
|
| Back to top |
|
 |
itayzoro
Joined: 23 Jan 2008 Posts: 22
|
Posted: Tue Jan 29, 2008 6:31 pm Post subject: |
|
|
My dear Guest devcon Work but IPCONFIG DOESNT WORK whats hpnd i got the cursor move to START --> run --> and type CMD then ipconfig enc... THIS IS RECORD NOT SCRIPT
try it ... |
|
| Back to top |
|
 |
|