What is the best way to check for a disc in an optical drive?
What is the best way to check for a disc in an optical drive?
I have a couple methods of doing this, but I was wondering if there was an 'official' method of checking to see if there's a disc in an optical drive?
-
- Posts: 36
- Joined: 2021-Dec-13, 3:53 pm
Re: What is the best way to check for a disc in an optical drive?
Don't know if it's official, but maybe this could help? Like
Code: Select all
wmic logicaldisk where drivetype=5 get volumename
- Simon Sheppard
- Posts: 192
- Joined: 2021-Jul-10, 7:46 pm
- Contact:
Re: What is the best way to check for a disc in an optical drive?
The VOL command can do that.