Waiting time while trying to access an empty optical drive.

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Marlby23
Junior Member
Junior Member
Posts: 22
Joined: 2006-10-21, 17:57 UTC

Waiting time while trying to access an empty optical drive.

Post by *Marlby23 »

Hi, i've had this annoyance since i began using TC, but with the addition of a new optical drive (3 total) now it's getting worse since i click the wrong drive letter by mistake more often than before.

The problem is that whenever i click on a drive letter assigned to an optical drive and the drive itself it's empty, TC "freezes" for about a minute+ or so before giving the "drive not found!" error. As far as i know theres not a command or way to cancel this operation making this behaviour incredibly annoying.

Is there a way to avoid this? i have autorun and the "Shell hardware detection" service disabled, i suppose that's the cause of this issue? ..i don't really want to reenable them just to get this working as expected..

Thanks in advance for any help on this :)
Marlby23
Junior Member
Junior Member
Posts: 22
Joined: 2006-10-21, 17:57 UTC

Post by *Marlby23 »

By the way, if i do the same thing with explorer, an "insert disk" message pops up immediately.

Cheers.
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Marlby23

Interesting - if I click the drive button of an empty CD-drive and my DVD-drive it takes about 2 seconds before I get the "Drive not found" dialog under Win XP SP2.

If I use the dropdown drive combobox, the dialog pops immediately.

I have Autorun and Shell hardware detection disabled just as you.

What OS are you using ?
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Marlby23

AFAIK This has been improved in TC 7. I couldn't find the according entry in history.txt, but at least here on XP SP2, TC 7 shows the 'drive not found'-dialog immediately.

EDIT
Hm, I tried around a bit and it does not depend on TCs version but on the INI-entry

Code: Select all

CdCloseDoor=0
in the [configuration] section of wincmd.ini is the key. The default value is 1, and then TC tries to close a drive when no disc is found. So inserting 'CdCloseDoor=0' should do the job for you. This works already in TC 6.x
Last edited by StickyNomad on 2007-05-17, 18:34 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2StickyNomad

I just tried it in TC 6.56 - not any signifant difference compared to TC 7.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2petermad
not any signifant difference compared to TC 7.
You are right, I tried CdCloseDoor=1|0 in TC 7 and 6.56 and in both versions the result is the same:

0 = dialog pops up immediately with both my drives.
1 = a quite annoying delay (cd writer: ~15 secs/DVD writer: ~5 secs)

I re-edited my post...
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

If I use CdCloseDoor=1 I have the aforementioned 2 seconds delays.

If I use CdCloseDoor=0 The "Drive not found" pops absolutely immediately.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

If I use CdCloseDoor=1 I have the aforementioned 2 seconds delays.

If I use CdCloseDoor=0 The "Drive not found" pops absolutely immediately.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Marlby23
Junior Member
Junior Member
Posts: 22
Joined: 2006-10-21, 17:57 UTC

Post by *Marlby23 »

StickyNomad wrote:2Marlby23

AFAIK This has been improved in TC 7. I couldn't find the according entry in history.txt, but at least here on XP SP2, TC 7 shows the 'drive not found'-dialog immediately.

EDIT
Hm, I tried around a bit and it does not depend on TCs version but on the INI-entry

Code: Select all

CdCloseDoor=0
in the [configuration] section of wincmd.ini is the key. The default value is 1, and then TC tries to close a drive when no disc is found. So inserting 'CdCloseDoor=0' should do the job for you. This works already in TC 6.x
Thanks alot, StickyNomad, that indeed did the trick :D

Just for the record i noticed (using filemon) that with that setting enabled TC called the file mcicda.dll in a variety of paths before finding it in the windows folder, i was about to point this out but well it's irrelevant now since this can be avoided with that setting.. Well thanks again!

Cheers :D

p.s. my O.S. is XP Pro, SP2.
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Marlby23
Thanks alot, StickyNomad, that indeed did the trick
But it doesn't explain why it only takes 2 seconds on my PC but 1 minute on your PC, when we are NOT using CdCloseDoor=0 :?:
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Sticky
Junior Member
Junior Member
Posts: 76
Joined: 2004-03-11, 23:29 UTC
Location: Denver, CO, USA

Post by *Sticky »

Oh my goodness, thank you so much for this!

This was also quite a pain for me; The delay on my system was only about 5 seconds, but that's about 5 seconds too many! But CdCloseDoor=0 works for me!

Thanks!
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

TC 7 displays the cd volume name as tooltip or just the drive name if no media is inserted so it's not really necessary to click on the drive icon...
User avatar
Stance
Power Member
Power Member
Posts: 1079
Joined: 2005-03-29, 06:26 UTC

Post by *Stance »

Tooltip: No media is inserted.

It could be so easy! :roll:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

If only it were - TC asks the drive to close the tray to read in the CD if CdCloseDoor=1. It then waits for a reaction of the drive. Unfortunately it depends on the speed of the drive firmware how long it takes until the drive notices a CD, or reports "drive empty". There are really fast drives like my Pioneer read-only drive, and really slow drives like some burners...
Author of Total Commander
https://www.ghisler.com
Post Reply