file rename - bad filename

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
karbuff
Posts: 7
Joined: 18 May 2021 13:20

file rename - bad filename

Post by karbuff »

Ok, this is a very weird issue I never encountered before. Hopefully I'm missing something obvious here:

I have a folder e.g. "conx", which I am able to rename. But when I try to rename it "con" or "con.x" if fails with an error message (attached).

Steps to reproduce:
  • create folder "conx"
  • rightClick/rename OR F2 to "con"
  • error message
Version
XYplorer v21.50.0100
To see the attached files, you need to log into the forum.

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: file rename - bad filename

Post by highend »

Because that name is reserved by Windows
One of my scripts helped you out? Please donate via Paypal

karbuff
Posts: 7
Joined: 18 May 2021 13:20

Re: file rename - bad filename

Post by karbuff »

I would understand if "con" was forbidden as a folder name, but "con.x" is forbidden, too - while "con x" is allowed. Seems not right....

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: file rename - bad filename

Post by highend »

Try to create it inside Windows Explorer, it doesn't work. It's not XY related
One of my scripts helped you out? Please donate via Paypal

Horst
Posts: 1400
Joined: 24 Jan 2021 12:27
Location: Germany

Re: file rename - bad filename

Post by Horst »

karbuff wrote: 18 May 2021 15:09 I would understand if "con" was forbidden as a folder name, but "con.x" is forbidden, too - while "con x" is allowed. Seems not right....
As already explained con is a reserved device name since the beginning of Windows.
This is also true for any extension you may add.
So it doesn't matter if you like it or complain. :)
Windows 11 Home, Version 25H2 (OS Build 26200.9278)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1423b (x64), Everything Toolbar 3.2, Listary Pro 7.0.0.9 beta

karbuff
Posts: 7
Joined: 18 May 2021 13:20

Re: file rename - bad filename

Post by karbuff »

Alright, windows explorer shows the same behavior, so this issue may be closed. Thanks.

Post Reply