Hi everybody. I hope somebody can help me with this. I can’t delete a file with a malformed name. For unknown reasons the file got a name that is rejected by System.IO.dll and now it is impossible to read it or delete it. The filename has invalid (non display) characters.
File.Delete(path) gives a System.ArgumentException and Directory.Delete(path,true) gives a System.IO.IOException.
I’m pretty sure I could delete it if I put the SD in my PC, but I need to be able to cope automatically with this situation when the hardware be installed at the field.
Thanks a lot beforehand.