Rename local directory files

Advertisement

fernanda.linsr
Joined:
Posts:
3

Rename local directory files

Hi!

I'm trying to run the script bellow and I need to rename the file from .temp to .txt after the download.

Can someone assist me?

cd /00_fidelity/00_recebimento/04_enriquecimento_kba/Bradesco
lcd C:\Users\HP\Desktop
mv *.txt *.temp
mget *.temp
rm *.temp
mv C:\Users\HP\Desktop\*.temp C:\Users\HP\Desktop\*.txt <- this doesn't work
exit

Reply with quote E-mail

Advertisement

Advertisement

You can post new topics in this forum