I want o use MEGAcmd script in my batch file (CMD scipt). Everything in that batch works well, but MEGAcmd scipt not. It looks like this:
SET PATH=C:\Users\PC_USER\AppData\Local\MEGAcmd;%PATH%
mega-login mail password
mega-cd my-backup
mega-put E:\BACKUP_TEMP
mega-logout
When i open it from .bat file I see login line and after some while window closed and nothing happen after that. But when i open CMD from start menu and paste in that windows this script line by line everything works good. Why, what I'm, doing wrong?
Thanks for help