hide drive

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
RemusRigo
Junior Member
Junior Member
Posts: 5
Joined: 2008-05-18, 12:26 UTC
Location: Timisoara, Romania

hide drive

Post by *RemusRigo »

hi all,

can anyone tell me the setting in wincmd.ini to hide a drive from TC. I have done this before, but I forgot the setting.

thanks
Regards
Remus Rigo
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

[Configuration]
Allowed=
Single user license #329241
PowerPro scripts for Total Commander
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Re: hide drive

Post by *eugensyl »

RemusRigo wrote:hi all,

can anyone tell me the setting in wincmd.ini to hide a drive from TC. I have done this before, but I forgot the setting.

thanks
Add this line in wincmd.ini:
[Configuration]
...
DriveBarHide=AB \=



This will hide drive A: , B: and Network from drive buttons.
My Best Wishes,

Eugen
User avatar
RemusRigo
Junior Member
Junior Member
Posts: 5
Joined: 2008-05-18, 12:26 UTC
Location: Timisoara, Romania

Post by *RemusRigo »

Vochomurka wrote:[Configuration]
Allowed=
:)
it was something like this, but i could acces that drive from TC's command line with CD comand
Regards
Remus Rigo
User avatar
Vochomurka
Power Member
Power Member
Posts: 814
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

2RemusRigo
So you wish to nave NO possibility to access some drive? Even from command line? (Please explain why).
If they are CDs or whole HDs, they can be hidden from the BIOS. There is no way to hide drives from the system commands. By the way, "cd" command usually follows the "drive" command like "c:".

2eugensyl
TC help wrote:Contrary to the Allowed= option, the drives remain accessible via drive dropdown
Single user license #329241
PowerPro scripts for Total Commander
User avatar
RemusRigo
Junior Member
Junior Member
Posts: 5
Joined: 2008-05-18, 12:26 UTC
Location: Timisoara, Romania

Post by *RemusRigo »

I just want to hide a partition, let's say partition X:, but i want to be able to access it by cd x:
If i use allowed=, then I can't acces partition x: using cd x:
Regards
Remus Rigo
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

RemusRigo wrote:I just want to hide a partition, let's say partition X:, but i want to be able to access it by cd x:
If i use allowed=, then I can't acces partition x: using cd x:
Exactly what I said. See above.

What you mean 'hide a partition' ? What purpose? (search except that drive, avoid read, and so on...)

You can use 'Ignore list' for most of your purpose.

Feel free to ask me in Romanian if it's not enough clear (not in this forum) using my contact.
My Best Wishes,

Eugen
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can hide it from the drive bar via DriveBarHide= option, see help, in the section about wincmd.ini. It will still be in the drive dropdown list, though.
Author of Total Commander
https://www.ghisler.com
Post Reply