[bug] Undeletable folder
Posted: Sun Jun 30, 2019 9:25 pm
MakeMKV v1.14.4
Windows 10 64-bit v1809 build 17763.557
I was ripping my Jurassic World Fallen Kingdom Blu Ray to an NTFS hard drive. I had copied the name of the movie from a website because I'm too lazy to type, apparently, and pasted it in the output folder path in MakeMKV, like this "Jurassic World: Fallen Kingdom (2018) ". I pressed the Save Selected Titles button, was prompted to create the directory, i confirmed, then it immediately gave an error because of the illegal character in the folder name. I replaced the colon with a hyphen and hit the go button again. It was humming along for a moment when I noticed an odd space in the Output file path being displayed as it saved the videos, just after the (2018) "D:\Video\Jurassic World- Fallen Kingdom (2018) \Jurassic World-Fallen Kingdom_t15.mkv".
This is the problem.
Directory names can not end with a blank character. If you try to rename a folder to add a space to the end, Windows truncates the name and clips off the superfluous blank character yet MakeMKV has happily created a directory with such a character (my fault because I essentially told it to do so, I realize this). This folder cannot be renamed or deleted via GUI or command line; the folder this folder is in cannot be deleted.
Fortunately I have nightly backups of the drive in question so it's no trouble for me to wipe and restore but this could be annoying or troublesome for others, especially those that rip to their system partitions.
Windows 10 64-bit v1809 build 17763.557
I was ripping my Jurassic World Fallen Kingdom Blu Ray to an NTFS hard drive. I had copied the name of the movie from a website because I'm too lazy to type, apparently, and pasted it in the output folder path in MakeMKV, like this "Jurassic World: Fallen Kingdom (2018) ". I pressed the Save Selected Titles button, was prompted to create the directory, i confirmed, then it immediately gave an error because of the illegal character in the folder name. I replaced the colon with a hyphen and hit the go button again. It was humming along for a moment when I noticed an odd space in the Output file path being displayed as it saved the videos, just after the (2018) "D:\Video\Jurassic World- Fallen Kingdom (2018) \Jurassic World-Fallen Kingdom_t15.mkv".
This is the problem.
Directory names can not end with a blank character. If you try to rename a folder to add a space to the end, Windows truncates the name and clips off the superfluous blank character yet MakeMKV has happily created a directory with such a character (my fault because I essentially told it to do so, I realize this). This folder cannot be renamed or deleted via GUI or command line; the folder this folder is in cannot be deleted.
Fortunately I have nightly backups of the drive in question so it's no trouble for me to wipe and restore but this could be annoying or troublesome for others, especially those that rip to their system partitions.