0
I am using Interop to create a word document and at the end save it in PDF, everything goes well except the file name, and I used this path to save it.
var NovoDocumento = "C:/Users/Bird/Desktop/PTD´S/" + tbNomeProf.Text + " - " + tbMateria.Text + ".pdf";
Everything is fine except that spaces are replaced by %20
The file name was supposed to be like this
Leandro Ferro - Sistema de Tratamento de Água e Resíduos.pdf
but it’s coming out like this
Leandro%20Ferro%20-%20%20Sistema%20de%20Tratamento%20de%20Água%20e%20Resíduos.pdf
Backslash, right? There’s also the fact that AP didn’t say anything about downloading, since its source is specific about downloading
– Jefferson Quesado
I think the backslash should work, really
– thatsadkatyperrymeme