[TC 11.50β6] TC does not see external HDD-drive in the "root" directory

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

[TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *Sektor »

License #299429
There is no knowledge that is not power
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *ghisler(Author) »

This is a virtual folder. The folder is requested from Windows via OLE2. I have no influence on what is shown there. What does the Explorer show?
Author of Total Commander
https://www.ghisler.com
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *Sektor »

Disks K and M are external HDD drives too. This is what Explorer shows: Image: https://1drv.ms/i/s!AvqfUD6Rp0UCvXfoeEBO4GPLfeSS?e=gDTOiX
License #299429
There is no knowledge that is not power
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *ghisler(Author) »

Either you are excluding it via allowed= in wincmd.ini, or you are running Total Commander with higher user rights (as administrator) and the drive is connected via network interface. Network drives are separate per user. Try running Total Commander with normal user rights to check whether the drive shows up.
Author of Total Commander
https://www.ghisler.com
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *Sektor »

OK. I'll give it a try.
License #299429
There is no knowledge that is not power
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *Sektor »

I checked this out. TC is run under normal user, this drive is not in Ignore List, it's not network drive, "allowed" is not used. As I said earlier, other external drives are in the list.
License #299429
There is no knowledge that is not power
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *ghisler(Author) »

There is also an option to hide the drive via registry. This could be done with an "allowed" value under one of these keys:
HKEY_CURRENT_USER\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ghisler\Total Commander

It's also possible that the device driver is reporting an error when checking the drive type with GetDriveType - that's how Total Commander determines whether a drive letter is used or not.

Can you actually access the drive from Total Commander with command
cd s:
in the command line or on a button?
Author of Total Commander
https://www.ghisler.com
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *Sektor »

ghisler(Author) wrote: 2024-11-20, 18:24 UTC There is also an option to hide the drive via registry. This could be done with an "allowed" value under one of these keys:
HKEY_CURRENT_USER\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ghisler\Total Commander
Alas, no such key there.
ghisler(Author) wrote: 2024-11-20, 18:24 UTC Can you actually access the drive from Total Commander with command
cd s:
in the command line or on a button?
Yes, I was able to switch to S drive.
License #299429
There is no knowledge that is not power
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *petermad »

2Sektor
Your first image https://1drv.ms/i/s!AvqfUD6Rp0UCvXb4gUz2eGG8PkLa?e=zqy8ic shows drive S. in TC's drive button bar - does it work, if you click on it?

Do you also see drive S. In TC's drive combobox, and if you do - does the entry work?

Or is it only in \\This PC\ that you don't see the drive?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *ghisler(Author) »

Oh, I didn't notice that! The drive button bar and drive dropdown combobox use GetDriveType to detect whether a drive exists or not. The list in
\\This PC\
is loaded via OLE2, I have no influence of what Windows returns there.

Moderator message from: ghisler(Author) » 2024-11-26, 11:40 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *Sektor »

petermad wrote: 2024-11-25, 04:20 UTC Your first image https://1drv.ms/i/s!AvqfUD6Rp0UCvXb4gUz2eGG8PkLa?e=zqy8ic shows drive S. in TC's drive button bar - does it work, if you click on it?
Oh, yes, it works perfectly. I am able to use it. :)
petermad wrote: 2024-11-25, 04:20 UTC Do you als0 see drive S. In TC's drive combobox, and if you do - does the entry work?
Yes, it does appear in combobox: https://1drv.ms/i/s!AvqfUD6Rp0UCvhtnQjtzaYLz5Fwx?e=tgWLei
License #299429
There is no knowledge that is not power
User avatar
Sektor
Member
Member
Posts: 166
Joined: 2007-04-04, 10:11 UTC
Location: Russia

Re: [TC 11.50β6] TC does not see external HDD-drive in the "root" directory

Post by *Sektor »

TC 11.50. Now I see the drive! 😁
License #299429
There is no knowledge that is not power
Post Reply