Dealing with a file with a backslash in its filename in Azure Data Lake is a nightmare sometimes because they are often interpreted as directory separators in file paths. Try using CLI and use the az storage blob delete
command to delete the file. You might need to escape the backslash in the filename. For example, if your file is named file\name.txt
, you would reference it as file\\name.txt
.
If the CLI method doesn't work, you could use the Azure Storage Blob REST API. In this case you'll need to generate a Shared Access Signature (SAS) token for authentication. Use a REST client or a tool like curl
to send a DELETE request to the Blob service REST API, making sure to properly escape the backslash in the filename.