I have a troublesome dvd drive that does not open easily. It seems to think that there is a disc running in the drive even when there isn't one in the drive. The drive isn't running continually either.
To test this out I am looking to create a batch file that will open the disc drive using a batch file. The way I see it there are a couple ways to do this. I can use devcon or I can use rsm. Both are widows files. For rsm I can write:
To get the above id that I need I write rsm.exe view /TLibrary /GUIDDISPLAY in the command prompt.Code:rsm.exe eject /ASTART /LG"31FD2701CA4C412794889225B2DC6830"
With devcon I can write:
But this no longer seems to be working. To be honest, it has been a while since I have tested it out, so it may not have fully worked in the first place. Either way I have not found an eject command among the list of commands that can be used.Code:"C:\Documents and Settings\Joseph Vander Jagt\Local Settings\Temp\i386\devcon.exe" disable IDE\CdRomLITE-ON_DVDRW_LH-20A1L__________________BL05____ "C:\Documents and Settings\Joseph Vander Jagt\Local Settings\Temp\i386\devcon.exe" enable IDE\CdRomLITE-ON_DVDRW_LH-20A1L__________________BL05____
Is anyone familiar with writing a batch file to open the dvd drive?



Reply With Quote



Bookmarks