Jump to content

How to know which cards are on your computer ?


Recommended Posts


You might also want to try pci32 which can be downloaded from http://members.datafast.net.au/dft0802/downloads.htm also get the updated PCIDEVS.TXT file.

The "pci32.exe /i" command will be the most useful for what you are trying to do.

Here are two simple for loops that produce slightly different output. You will need will need grep which can be download as part of the GNU utilities for Win32 http://unxutils.sourceforge.net/ and pci32 above.

@echo off

for /F "eol=; tokens=1,2,3,4,5,6 delims=: " %%i in ('pci32 /i 2^>nul: ^| grep -i "^V"') do (

echo %%j %%l %%n

)

1002 5046 00281002

@echo off

for /F "eol=; tokens=1,2,3 delims= " %%i in ('pci32 /i 2^>nul: ^| grep -i "^V"') do (

echo %%i %%j %%k

)

V:1002 D:5046 S:00281002

If this doesn't work you can use VB Script to detect various devices. I posted information on one way of doing this in http://www.msfn.org/board/index.php?act=ST...ndpost&p=140294

Link to comment
Share on other sites

and why not try M$ tool DevCon Command Line Utility Alternative to Device Manager

and look this page for DevCon Examples

@GreenMachine

DriverGuide Toolkit is maybe a fine tool but it's not free and probably need to be installed on the windows box.

People like you with a lot of knowledge in batch and scripts would prefer to use console command line utility. XPcreate is the best example of the powerful scripting and batch possibilities and let the user learn how it works by examining the code better thant a program hardcoded in VB or other language.

Link to comment
Share on other sites

Yes, Bilou_Gateux, there are better command line tools for this. However, I have come to the conclussion that not everyone is like me ... and some even prefer GUI programs to the command line!

The DriverGuide Toolkit is not free, but in fact, I usually use it just before a re-format, so even a one-day trial version is OK for my purposes. There is a previous version, that is not as complete, but is free, and includes a license which states "Free to distribute", or something like that. FthrJACK posted it at one point, and I have a copy that I hope to add to the web site ... one of these days.

I do have, and have had for quite a while, a downloadable, bootable diskette creator, that will create a boot diskette that will automatically run a PCI Bus Sniffer and Report Generator, for those that have no fear of the command line type tools. It is on XPCREATE's Download Page:

http://greenmachine.msfnhosting.com/XPCREATE/download.htm

There are many tools, most based on Craig Hart's work (linked above, PCIDEVS.TXT, etc.), that are perfectly suited to this task.

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...