[Bugs] Deleting files when "_files" folder exist
Moderators: Hacker, petermad, Stefan2, white
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
[Bugs] Deleting files when "_files" folder exist
Please follow these steps:
1. create directory "XYZ_files" (without quotes)
2. create file called "XYZ.htm"
3. delete file
Conclusions:
1. deleting file deletes directory too
2. deleting directory does not delete file
3. not all file extensions gives that kind of behaviour (e.g. for htm extension any string instead XYZ produce error)
[20:07]
I've found explanation on MSDN site.
I think that it still could be a bug because when I am using TC's methods for deleting files I don't want to expect explorer behaviour.
1. create directory "XYZ_files" (without quotes)
2. create file called "XYZ.htm"
3. delete file
Conclusions:
1. deleting file deletes directory too
2. deleting directory does not delete file
3. not all file extensions gives that kind of behaviour (e.g. for htm extension any string instead XYZ produce error)
[20:07]
I've found explanation on MSDN site.
I think that it still could be a bug because when I am using TC's methods for deleting files I don't want to expect explorer behaviour.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2roentgen
Just a *.reg file with content:
Just a *.reg file with content:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"NoFileFolderConnection"=dword:00000001
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
Here are two pictures about this MS "feature"
http://xona.com/2004/07/16.html
Here is an tip from http://www.jsifaq.com/SF/Tips/Tip.aspx?id=3841
NOTE: The Connected Files feature does NOT operate at a CMD prompt.
Here is an related question in the german forum
http://www.ghisler.ch/board/viewtopic.php?p=86748#86748
http://xona.com/2004/07/16.html
Here is an tip from http://www.jsifaq.com/SF/Tips/Tip.aspx?id=3841
NOTE: The Connected Files feature does NOT operate at a CMD prompt.
Here is an related question in the german forum
http://www.ghisler.ch/board/viewtopic.php?p=86748#86748
/join #TCMD Chat at irc.freenode.net - Today's newbies are tomorrow's experts.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
So there are three possible solutions for this:
1. disable globally,
2. enable (as exist for now),
3. enable with confirmation dialog (completely like explorer does).
We'll wait for Christian's response.
P.S. Try to read linked thread using babelfish translation. It makes a head-ache...
1. disable globally,
2. enable (as exist for now),
3. enable with confirmation dialog (completely like explorer does).
We'll wait for Christian's response.
P.S. Try to read linked thread using babelfish translation. It makes a head-ache...
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- petermad
- Power Member
- Posts: 13900
- Joined: 2003-02-05, 20:24 UTC
- Location: Valsted, Denmark
- Contact:
2fenix_productions
I can only make TC behave the way you describe, if I have checked the option: "Configuration" -> "Copy/Delete" -> "General Copy+Delete options" -> "Use Explorer method (faster, cannot handle comments)"
So, it seems fair to me that if you request Explorer behaviour, then you must expect to get Explorer behaviour - also for features you don't like!
EDIT: I can actually also make it happen if I enable "F8/Del deletes to recycle bin" OR I use Shift+Del - Sorry that I didn't notice that at first - I have always disabled the use of recycle bin (both in TC and in Windows)
I can only make TC behave the way you describe, if I have checked the option: "Configuration" -> "Copy/Delete" -> "General Copy+Delete options" -> "Use Explorer method (faster, cannot handle comments)"
So, it seems fair to me that if you request Explorer behaviour, then you must expect to get Explorer behaviour - also for features you don't like!
EDIT: I can actually also make it happen if I enable "F8/Del deletes to recycle bin" OR I use Shift+Del - Sorry that I didn't notice that at first - I have always disabled the use of recycle bin (both in TC and in Windows)
License #524 (1994)
Danish Total Commander Translator
TC 11.01 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1356a (x64)
TC 3.42 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.01 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1356a (x64)
TC 3.42 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- sqa_wizard
- Power Member
- Posts: 3826
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2petermad
If I check deleting via Explorer in Options this is the behaviour I could expect. There is no info that selecting deletion to Recycle Bin will do this too. That is the strongest reason why I am surprised.
Btw. I am still expecting (my naive wish) to see "explorer view" mode in TC. With all pros and cons of it. Without need for special options for making TC to behave its own way.
If I check deleting via Explorer in Options this is the behaviour I could expect. There is no info that selecting deletion to Recycle Bin will do this too. That is the strongest reason why I am surprised.
Btw. I am still expecting (my naive wish) to see "explorer view" mode in TC. With all pros and cons of it. Without need for special options for making TC to behave its own way.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
- ghisler(Author)
- Site Admin
- Posts: 46593
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
If you delete with Shift+Del and internal TC function, then only the file will be deleted. If you delete with F8/Del, then TC will use the SHFileOperation function to delete to Recycle Bin. Unfortunately this function uses the above registry value to decide whether to delete the associated directory or not.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
http://msdn2.microsoft.com/en-us/library/ms538322.aspxUnfortunately this function uses the above registry value to decide whether to delete the associated directory or not.
IcfuFOF_NO_CONNECTED_ELEMENTS
Version 5.0. Do not move connected files as a group. Only move the specified files.
This account is for sale