How to write a dos script that can detect how many PCI card been installed in the system

Posted on 2005-04-28
Last Modified: 2012-05-05
Hi There,
I would like to try a dos script/C++ program that can run to detect that how many PCI card been installed in the system under DOS 6.22 environment, can anyone have reference or sample or even idea for me to refer to?

Thank you very much.

Best regards,
Question by:AlexKhaw
    LVL 6

    Expert Comment

    Wow, that's a toughy.  

    You want a complete history of EVERY card installed on your computer since the OS was installed on it????

    It'll be tough since most of the driver is removed when you uninstall the hardware.

    If there's a solution, someone here will more than likely have it.


    Author Comment

    Hi AC,
    No, I just want to detect how many cards is currently in the OS-less system, not the history for how many cards been installed in the system.
    But that one you mention really a challenge..:-)

    Thank you.
    LVL 6

    Expert Comment

    Ah, whew :)

    This may actually work for you.
    LVL 12

    Expert Comment

    Are you wanting to create a dos 6.22 boot disk that has a DOS .bat and/or .exe that runs on bootup and detects the pci devices?  

    Author Comment

    Hi Preece,
    LVL 5

    Accepted Solution

    You really just need to get your hands on a copy of ta.exe, the target analyzer that runs in ms-dos, it ships on the windows embedded installation cds.... maybe you can find it on the net.  It will tell you all about pci cards, etc.   Google "Target Analyzer ms-dos"


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    This is an explanation of a simple data model to help parse a JSON feed
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now