[FIXED] [8.01] Overwriting Hidden & System files

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

[FIXED] [8.01] Overwriting Hidden & System files

Post by *sas2000 »

  
Hi, i have two directories C:\TEST & D:\TEST and both directories have exactly the same files :

LAST.TXT  45.622 14/11/08 07:49  -a--
LIST.TXT   25.622 14/11/08 07:39  -a--
2006.SYS  63.958 11/02/08 09:43  -ahs
RAIN.SYS  10.040 14/11/08 07:29  ra-s

I do not understand why with this configuration in wincmd.ini      [8.01 - Xp 32bits]

[Confirmation]
deleteDirs=0
OverwriteFiles=1
OverwriteReadonly=0
OverwriteHidSys=0
MouseActions=0

If i press F5 to copy C:\TEST overwriting D:\TEST (and after pressing  Overwrite All  in the first confirmation window) i receive more warning windows like this one

The file D:\TEST\RAIN.SYS has either the attribute HIDDEN or SYSTEM!
Do you want to overwrite it anyway?


Maybe i'm wrong but  OverwriteHidSys=0  should not avoid this message window ?. Thank you very much.
 
 
Last edited by sas2000 on 2013-09-26, 17:23 UTC, edited 2 times in total.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

OverwriteHidSys=0 should not avoid this message window ?
OverwriteHidSys=0 will NOT overwrite but ask
OverwriteHidSys=1 will overwrite without asking
#5767 Personal license
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

  
Hi, thanks for answering. I have changed wincmd.ini

[Confirmation]
deleteDirs=0
OverwriteFiles=1
OverwriteReadonly=0
OverwriteHidSys=1
MouseActions=0

But there is no difference at all.

BTW from TC Help file

OverwriteHidSys=1  Ask before overwriting/deleting hidden/system files

Thanks again.
 
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

OverwriteHidSys=1 Ask before overwriting/deleting hidden/system files
You are right, the German help has a quite misleading text.

It looks like the OverwriteReadonly and OverwriteHidSys are only working with OverwriteFiles=0 set.

Code: Select all

OverwriteFiles=1
=> Show general "Overwriting files" dialog

Code: Select all

OverwriteFiles=0
OverwriteReadonly=1
OverwriteHidSys=1
=> Don't show general "Overwriting files" dialog, but still ask at overwriting ReadOnly or Hidden/System files

This makes you think, that [Show general "Overwriting files" dialog, but don't ask me additional at overwriting ReadOnly or Hidden/System files] is like:

Code: Select all

OverwriteFiles=1
OverwriteReadonly=0
OverwriteHidSys=0
You are right, this will not work as expected, it will still ask at overwriting ReadOnly or Hidden/System files while it should not.
#5767 Personal license
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
This will not work as expected, it will still ask at overwriting ReadOnly or Hidden/System files while it should not.
Another thing, maybe i'm wrong but in my opinion

OverwriteReadonly=0
OverwriteHidSys=0

It should mark Overwrite/Delete read only/hidden/system checkbox but it doesn't
 
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
TC 8.50b4 works as expected, marking Overwrite/Delete read only/hidden/system checkbox, thank you very much :!: .

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

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply