If it's not a bug, how am I supposed to get rid of this file? DeleteFile API doesn't work, del doesn't work
Is not accessible in Windows GUI, but your file can be deleted in the same interface where you create it, use your prompt/command line:
- The
del name.ext../ command don't work, try to delete with your file using *.* /P:
>ren "a.txt" "Bug.txt../"
>del *.* /p
F:\2020-SU\Q1594381\bug.txt.., Delete (Y/N)? Y
For delete this files this options also works:
del bug.txt..?
del bug.txt^.^.?
del "\\?\%cd%\bug.txt..?"
del \\?\%cd%\bug.txt^.^.?
You can undo this:
ren \\?\%cd%\bug.txt^.^.? a.txt
List file content..
type \\?\%cd%\bug.txt^.^.?
F:\2020-SU\Q1594189>del /?
Deletes one or more files.
DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
names Specifies a list of one or more files or directories.
Wildcards may be used to delete multiple files. If a
directory is specified, all files within the directory
will be deleted.
/P Prompts for confirmation before deleting each file.
/F Force deleting of read-only files.
/S Delete specified files from all subdirectories.
/Q Quiet mode, do not ask if ok to delete on global wildcard
/A Selects files to delete based on attributes
attributes R Read-only files S System files
H Hidden files A Files ready for archiving
I Not content indexed Files L Reparse Points
O Offline files - Prefix meaning not
If Command Extensions are enabled DEL and ERASE change as follows:
The display semantics of the /S switch are reversed in that it shows
you only the files that are deleted, not the ones it could not find.