Funny how someone asks for stuff right after you make that very thing...

ftp://jasonc.no-ip.com/public/files/Upload/connections2.kix

I made this working against NT-4.0 only, 9x doesn't list out it's connections the way NT/2000 does.

All (SCSI/IDE) connections are listed out directly in the registry. My script simply reads the registry. It does nothing as per drive letters. This works for up to 2 scsi channels, none of my machines have 3 scsi so I didn't make it for 3 or more. It takes into account for wide scsi also (15 devices + the controller). Yes, scsi scanners are shown.

In my DEVICE_TYPE section I have listed about a dozen devices that I know about. Just copy and paist another line to add what you have discovered. CASE 1 takes care of anything not in the list.

As of now all output is to screen, however writing to a file is just a matter of adding redirectoutput. I'm also considereing using writeprofilestring to make the output in an INI format.

Welp, have fun...

[ 31 July 2001: Message edited by: JasonC ]

[ 31 July 2001: Message edited by: JasonC ]