Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False rename the folder to "Agatha.Christies.Poirot.S01-S13." and can't rename again and can't delete on windows server 2016 #16271

Closed
ted423 opened this issue Jan 25, 2022 · 6 comments
Labels
OS: Windows Issues specific to Windows

Comments

@ted423
Copy link

ted423 commented Jan 25, 2022

qBittorrent & operating system versions

qBittorrent: 4.3.9 x64
Operating system: Server 2016
Qt: 5.15.2
libtorrent-rasterbar: 1.2.14

What is the problem?

https://jingyan.baidu.com/article/4ae03de352c2417eff9e6ba9.html
similar like this , I'm finding an english version

Windows will automatically delete the last "."
the delete and rename will ignore the last “.”

Steps to reproduce

edit a torrent folder to Agatha.Christies.Poirot.S01-S13. with GUI
the secound step I rename the Agatha.Christies.Poirot.S01-S13. to Agatha.Christies.Poirot.S01-S13 and it appear two folder
the folder with last “.” cannot be operated

Additional context

No response

Log(s) & preferences file(s)

No response

@thalieht thalieht added the OS: Windows Issues specific to Windows label Jan 25, 2022
@ted423
Copy link
Author

ted423 commented Jan 26, 2022

dir
 驱动器 D 中的卷没有标签。
 卷的序列号是 768C-ACAB

 D:\X 的目录

2022/01/25  18:44    <DIR>          .
2022/01/25  18:44    <DIR>          ..
2022/01/25  17:56    <DIR>          Agatha.Christies.Poirot.S01-S13.

The more troublesome thing is that now it seems that the command cannot delete or rename this(work on win 10, but not 2016)

@ted423
Copy link
Author

ted423 commented Jan 26, 2022

....
I delete it in Linux use smb

@ted423 ted423 changed the title False rename the folder to "Agatha.Christies.Poirot.S01-S13." and can't rename again and can't delete on windows False rename the folder to "Agatha.Christies.Poirot.S01-S13." and can't rename again and can't delete on windows server 2016 Jan 26, 2022
@ted423
Copy link
Author

ted423 commented Jan 26, 2022

tried on win 10, it auto remove the last "." in explorer and qbittorrent showed I/O wrong
So the explorer in server 2016 and win 10 behave differently

@buggerlugz
Copy link

Using RD (remove directory) in a command prompt will remove it but you need to specify the location correctly.

rd /s "\?\E:\Our Code World\Workspace\folder_invalid.."

@ted423
Copy link
Author

ted423 commented Mar 5, 2022

Using RD (remove directory) in a command prompt will remove it but you need to specify the location correctly.

rd /s "?\E:\Our Code World\Workspace\folder_invalid.."

I tried, not work in server 2016. it seems it behaviour like transition product in win 7 to win 10
hadn't test in win8 or 8.1
I think qb may avoid the “.” come the last in file or folder name, though the other system can fix it

@ted423
Copy link
Author

ted423 commented Jan 1, 2023

Because this system is coming to the end of its life cycle.

@ted423 ted423 closed this as completed Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Windows Issues specific to Windows
Projects
None yet
Development

No branches or pull requests

3 participants