More > JRiver Media Center 21 for Windows

[Possible Bug]Can't delete folder

(1/1)

muzicman0:
I recently had 2 programs record on the TV side of things, and the name of the episode ended with '...' (without the quotes).  Both folders are empty now, but I can't delete them.  Windows says that it can't find the file or folder when I try to delete it.

I am in the process of backing up the drive and just going to format it, but I have tried everything to delete the folder.  

I thought it might be something within JRiver when it tries to delete the folder after recording finishes (I record in .ts format) that is causing the folder to be stuck.  Seems to be an awefully big coincidence that 2 folders ending with ... won't delete.

EDIT: I just tried to manually create a folder that ends with '...' to see if I could delete it, and I can't even create it manually...so not sure how the 2 folders even got created in the first place!  But somehow it happened.

muzicman0:
Just FYI, for anyone who might run into this, I did find a way to delete the folders without re-formatiing the drive.

Prefix the folder name with \\?\

So the 2 commands I used were:


--- Code: ---rmdir "\\?\D:\Recorded TV\Deadliest Catch - S12E03 - No Good Deed..."
--- End code ---

and


--- Code: ---rmdir "\\?\D:\Recorded TV\Limitless - S01E20 - Hi, My Name Is Rebecca Harris ..."
--- End code ---

It is important that you include the full path, including the drive letter, or it won't work.  I also used an administrator cmd prompt to do it.  so:


--- Code: ---D:\Recorded TV>rmdir "\\?\Limitless - S01E20 - Hi, My Name Is Rebecca Harris ..."
--- End code ---

Won't work.

I would suggest that JRiver removes any periods from the end of folders it creates to avoid this problem.

imeric:
Thx!
This was the only possible way to delete a folder created by MC.  Trying to change ownership as per other posts did not work.

muzicman0:
Glad I could help!

syndromeofadown:
For those experiencing the problem of not being able to delete a folder because it contains spaces or periods at the end you can use 7zip to rename it. Just browse to the folder in 7zip and remove the characters.

Navigation

[0] Message Index

Go to full version