I am Charmie

メモとログ

delete a file containing a space at the end of its extension on Windows

Suppose you have a file containing a space at the end of its extension on Windows. Let ABSOLUTE_PATH denote the absolute path of the file, the following command can erase the file.

del \?\ABSOLUTE_PATH