Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Remote CD-ROM Detection
Machine=RegConnect(ServerName, @REGMACHINE) MountedDevicesKey = RegOpenKey(Machine,"SYSTEM\MountedDevices") MountedDevicesList = RegQueryItem(Machine,"SYSTEM\MountedDevices") RegCloseKey(MountedDevicesKey) MountedDevicesList = ItemSort(MountedDevicesList, @TAB) ;Devices are not always in order so sort them. MountedDevicesCount = ItemCount(MountedDevicesList, @TAB)This assumes of course that you have admin rights to the target machine. Not pretty but it works.
Article ID: W15545
File Created: 2003:05:13:11:28:38
Last Updated: 2003:05:13:11:28:38