#code=950T936
LOGS **on=1  ..\X.LOG
ENVI^ ENVIMODE=1
ENVI^ FORCELOCAL=1

//DEVI listdev:V  //列出 所有硬件ID,   *many:一个设备的多个ID都列出来
//DEVI listdev:V *listdev=i //列出 所有实例,不能用*many
//DEVI listdev:V *listdev=c *many //列出 所有兼容ID,   *many:一个设备的多个ID都列出来

//下面匹配列出
//*DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10\4&14C08592&0&02E3  中的ID可用*?通配符

//DEVI listdev:V *listdev=i *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10\4&14C08592&0&02E* //由实例 列出 匹配设备的实例
//DEVI listdev:V *listdev=i *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10\4&14C08592&0&02E3  *many  //由实例 获得 其所有硬件ID
//DEVI listdev:V *listdev=i *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10\4&14C08592&0&02E3  *many *comp  //由实例 获得 其所有兼容ID
//DEVI listdev:V *listdev=i *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10\4&14C08592&0&02E3  *many *comp+  //由实例 获得 其所有硬件ID和兼容ID

//DEVI listdev:V *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *many    //由硬件ID 获得 其所有硬件ID
//DEVI listdev:V *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *many  *comp+  //由硬件ID 获得 其所有硬件ID和兼容ID
//DEVI listdev:V *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *many  *comp  //由硬件ID 获得 其所有兼容ID
//DEVI listdev:V *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *inst  //由硬件ID 获得 其实例

//DEVI listdev:V *listdev=c *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *many    //由兼容ID 获得 其所有兼容ID
//DEVI listdev:V *listdev=c *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *many  *comp+  //由兼容ID 获得 其所有兼容ID和硬件ID
//DEVI listdev:V *listdev=c *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *many  *hwid  //由兼容ID 获得 其所有硬件ID
//DEVI listdev:V *listdev=c *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *inst  //由兼容ID 获得 其实例

//DEVI listdev:V *listdev=c *DevID:PCI\VEN_14E4&DEV_16BE&*  *many  *comp+  //通配符*

//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *many    //由硬件ID/兼容ID 获得 其所有兼容ID
//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *many  *comp+  //由硬件ID/兼容ID 获得 其所有兼容ID和硬件ID
//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *many  *hwid  //由硬件ID/兼容ID 获得 其所有硬件ID
//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&REV_10  *inst  //由硬件ID/兼容ID 获得 其实例
//////
//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *many    //由硬件ID/硬件ID 获得 其所有硬件ID
//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *many  *comp+  //由硬件ID/硬件ID 获得 其所有硬件ID和兼容ID
//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *many  *comp  //由硬件ID/硬件ID 获得 其所有兼容ID
//DEVI listdev:V *listdev=+ *DevID:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10  *inst  //由硬件ID/硬件ID 获得 其实例

//多ID（同一种模式）
//DEVI listdev:V *listdev=i *DevID:'PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10\4&14C08592&0&02E*''IDE\DISKHGST_HTS721010A9E630____________________JB0OA3J0\4&2266D880&0&0.0.0'  //由实例 列出 匹配设备的实例
//DEVI listdev:V *DevID:'PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10''IDE\DiskHGST_HTS721010A9E630____________________JB0OA3J0'  *many    //由硬件ID 获得 其所有硬件ID

//混合模式,没有前缀，就是命令设定的默认模式
//DEVI listdev:V *DevID:'h:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&REV_10''h:IDE\DiskHGST_HTS721010A9E630____________________JB0OA3J0''@:ROOT\COMPOSITE_BATTERY\0000''c:HDAUDIO\FUNC_01&CTLR_VEN_8086&CTLR_DEV_1C20&VEN_10EC&DEV_0269&REV_1001'  *many    //由硬件ID/实例  获得 其所有硬件ID

//DEVI listdev:V *  *DevID:'+:PCI\VEN_14E4&DEV_16BE&SUBSYS_05001025&*'     //*为通配符

//比较:通配符*和非通配符*
DEVI listdev:V1 *listdev=+ *DevID:'^*PNP09FF'    //^*表示普通字符*，不是通配符*，只匹配ID"*PNP09FF"
DEVI listdev:V2 *listdev=+ *DevID:'*PNP09FF'    //*为通配符, 匹配所有PNP09FF结尾的ID
SET$ NL=0d 0a
SET V=V1:【%V1%】 %NL%V2:【%V2%】
MESS. %V%
