OrionCookies
Programmer
I have a script to detect if pcmcia card in the slot or not. But its not working,,,,
Need really help on this. or if some one has any example
thanks in advance.
Dell1300 = "PCI\VEN_14E4&DEV_4320"
Dell1350 = "PCI\VEN_14E4&DEV_4320"
Dell1370 = "PCI\VEN_14E4&DEV_4318"
'Dell1400 = "PCI\VEN_14E4&DEV_"
Set SystemSet = GetObject ("winmgmts:").InstancesOf("Win32_PNPEntity")
for each item in SystemSet
If (Instr(item.PNPDeviceID, Dell1300))="1" then WScript.Quit
If (Instr(item.PNPDeviceID, Dell1350))="1" then WScript.Quit
If (Instr(item.PNPDeviceID, Dell1370))="1" then WScript.Quit
Next
WScript.Quit
Need really help on this. or if some one has any example
thanks in advance.
Dell1300 = "PCI\VEN_14E4&DEV_4320"
Dell1350 = "PCI\VEN_14E4&DEV_4320"
Dell1370 = "PCI\VEN_14E4&DEV_4318"
'Dell1400 = "PCI\VEN_14E4&DEV_"
Set SystemSet = GetObject ("winmgmts:").InstancesOf("Win32_PNPEntity")
for each item in SystemSet
If (Instr(item.PNPDeviceID, Dell1300))="1" then WScript.Quit
If (Instr(item.PNPDeviceID, Dell1350))="1" then WScript.Quit
If (Instr(item.PNPDeviceID, Dell1370))="1" then WScript.Quit
Next
WScript.Quit