Questions tagged [cd-drive]

10 questions
8
votes
2 answers

How to check if CD drive is open or closed in linux?

I'm making an application that requires the knowledge of whether a CD drive is open or closed. eject opens the CD drive, and checks how long it takes to open (a shorter amount of time says it's open, and a longer, well...), but I cannot use this…
MiJyn
  • 5,327
  • 4
  • 37
  • 64
2
votes
2 answers

CD-Drive removing using Java API

How can I close the CD-ROM tray, using Java API or JNI? Is it possible at all to interact with cd-drive (start burning, stop, make slower or faster rotation, etc)?
JaeR
  • 63
  • 3
1
vote
2 answers

Problems with Batch to EXE running off CD

As a favour, I'm compiling a number of videos on a DVD. They're all different resolutions, codecs and containers. To save myself sometime I thought I'd just bundle in MPC and have a batch script launch them. I was told they need an icon and since…
Matthew
  • 11
  • 1
0
votes
0 answers

IJolietDiscMaster::AddData Compatability with 64 Bit Operating System

Currently for Windows XP and Windows 7 32 bit i am using IJolierDiscMaster COM Interfaces for writing CD. Currently i am migrating the windows application to windows 10. When i try writing CD in windows 10 it is giving exception "…
Amarnath
  • 245
  • 3
  • 4
  • 15
0
votes
1 answer

Python: Opening/Closing CD drive swiftly

For reasons, I'm trying to create a python script which is going to spam opening and closing the CD drive. So far, I've found the following solution, which is utilized using ctypes from this question. import ctypes #to open CD…
notTypecast
  • 460
  • 5
  • 16
0
votes
5 answers

How do I open a folder from CD drive using VB.NET?

I'm trying to write a program that opens a folder from the CD disk when a button is clicked. The program will be run from a CD, and aims to open a certain folder. However, I can't use "shell "explorer...."" because the drive letter will change…
shmuxel
  • 1
  • 1
0
votes
2 answers

Win32_LogicalDisk Access Property Always Unknown in PowerShell

I'm using a simple script to check the status of CD/DVD drives on a machine. I want to be able to tell if a certain drive is writable. I have the following test code: $script_obj = new-object -comobject wscript.shell $drives = @(Get-WmiObject…
Ian
  • 4,169
  • 3
  • 37
  • 62
0
votes
0 answers

ioctl to detect a disc in upside direction

I am trying to find whether a disc is inverted in upside direction, or there is no disc.Till now I am getting NO_DISC even when I am inserting a disc in Upside direction.Please anyone tell me if there is any possible ioctl available through which I…
Sanjeev Kumar
  • 55
  • 1
  • 9
0
votes
1 answer

Visual Basic "msgbox" and GoTo command

I would like to create a VBScript file that opens a msgbox that has the options "Yes or No" and maybe a question mark icon. I would like yes to open a specified path to a file, and no to end the program. I want the dialogue box to say: Would you…
drcomputer
  • 406
  • 2
  • 7
  • 15
-1
votes
1 answer

trying to read dvd/cd drives and populate combo box in c#

I'm trying to populate a combobox in a windows form with all my dvd/cd drives and say if they have a disc in them. I'm trying to do it with a class tried sending an object and list but the object just comes up with and error and the list just…