Denial of accent with .bat

0

I have a .bat which when executed calls a script.

My problem is that the files that are called by the script have "ç, á, ã" accents, things like that.

So when it looks for the file, it does not find the right name.

Nome do arquivo: "Procuração.xls"
Chamada do script: "Porcura$ÕAo.xls"

With this he can not find the right file to execute.

I've seen several topics about this, but I have not been able to implement any.

I'm currently using

U:
CHCP 1252
cd U:\PastaAberta\Progan
ECHO Aguarde o script executar...
Rscript script02.R
pause
    
asked by anonymous 07.12.2018 / 18:36

1 answer

0

You can try using wildcard :

Script call: Search ?? o.xls

People do not pay attention to the benefits of using only alphanumeric characters for filenames and folders, people insist on using ç, õ, õ, (,), #, & amp ;, etc. ".

Do what?

We're the ones who have to break our heads to dodge these events, but it's a part of it!

    
23.12.2018 / 18:43