No filename
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
No filename
It's not a bug, it's not a wish...I don't know what it is...
Anyway, a couple of days ago I found out that it's possible to just rename a file into nothing. Not literally, but it's possible to have a file and no name, just an extension. Is there a reason for that and is there a setting that would prevent that? Explorer don't allow the same action fyi....
Anyway, a couple of days ago I found out that it's possible to just rename a file into nothing. Not literally, but it's possible to have a file and no name, just an extension. Is there a reason for that and is there a setting that would prevent that? Explorer don't allow the same action fyi....
-
admin
- Site Admin
- Posts: 66083
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: No filename
I've been through the desert on a file with no name ... isn't it nice you can do something Explorer cannot. If you don't like it don't do it.ivan wrote:It's not a bug, it's not a wish...I don't know what it is...
Anyway, a couple of days ago I found out that it's possible to just rename a file into nothing. Not literally, but it's possible to have a file and no name, just an extension. Is there a reason for that and is there a setting that would prevent that? Explorer don't allow the same action fyi....
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
I was simply trying to understand a logic behind this. What if something screws up and a bunch of my files are renamed to no names and suffixes and that's all. Wouldn't happen in Explorer, would it? Can you please at least have a tickbox or something that says along the lines "Disable renaming of files into files with no filename"? Gives people a choice of whether to go for it or not and would offer similar functionality as Explorer. Sometimes being able to do it in XYplorer and not being able to do it in Explorer isn't necessarily the best thing since sliced bread 
-
admin
- Site Admin
- Posts: 66083
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
admin
- Site Admin
- Posts: 66083
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Also, I need files called ".htaccess" for my web sites...admin wrote:But there's still the extension.
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Let's not get silly here. Say you have a file called .txt then all the following files which are renamed into .txt won't be .txt but will be "suffix you've chosen in preferences".txt, "suffix you've chosen in preferences +1".txt and so on. So how do you know in which file there is info you need?admin wrote:But there's still the extension.
Sure, but not everybody does. Not everybody who uses XYplorer runs websites. What I'm asking is: at least give us an option to enable/disable allowing files being renamed into ".extension". Those who need it (you, for example) will enable it and those who don't need it (me, for example) will have some safety net. Please...admin wrote:Also, I need files called ".htaccess" for my web sites...
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
-
admin
- Site Admin
- Posts: 66083
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yep.Pagat wrote:i always hated Windows Explorer for not allowing me to create a ".htaccess" file... i prefer the way it works now.
Furthermore, in NTFS there is no such thing as an "extension". The dot is just another legal character in filenames and ".txt" is a totally wellformed filename. That "extensions" are still used to organize filetypes is just a useful relict from DOS 8.3 times.
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
-
RalphM
- Posts: 2086
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Agreed!ivan wrote:Let's not get silly here...
I'd say by checking, since you messed up with some rename job.ivan wrote:...So how do you know in which file there is info you need?
Let's see the good side of it, at least you know that there's sth wrong with those files, which can't be said for other possible outcomes of a bad rename job.
I'd say "two fools rule" 'cos otherwise the ini might soon be a jungle of tweaks to wade through.
Ralph 
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
-
PeterH
- Posts: 2826
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
I see no problems having a file .txt
But I don't understand something else: shouldn't i.e. x and x. and x.. be different files? But if one of these exists, I can't create a new file with one of the other names. ("Name already exists...")
(As expected, x.x and x..x are allowed! As are t and .t and ..t)
A little bit strange, but understandable: the name . is not allowed
(The name should be allowed - but it has a special meaning and so isn't usable.)
But I don't understand something else: shouldn't i.e. x and x. and x.. be different files? But if one of these exists, I can't create a new file with one of the other names. ("Name already exists...")
(As expected, x.x and x..x are allowed! As are t and .t and ..t)
A little bit strange, but understandable: the name . is not allowed
(The name should be allowed - but it has a special meaning and so isn't usable.)
-
admin
- Site Admin
- Posts: 66083
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yes, I was a bit bold when claiming that the dot is just another legal character.PeterH wrote:I see no problems having a file .txt
But I don't understand something else: shouldn't i.e. x and x. and x.. be different files? But if one of these exists, I can't create a new file with one of the other names. ("Name already exists...")
(As expected, x.x and x..x are allowed! As are t and .t and ..t)
A little bit strange, but understandable: the name . is not allowed
(The name should be allowed - but it has a special meaning and so isn't usable.)
I don't know if it is NTFS or the Windows File API, but trailing dots are not allowed resp. they are simply ignored when renaming a file.
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
XYplorer Beta Club