Error in .bat

Advertisement

tmeans@...
Guest

Error in .bat

Running .bat file within the C:\program files (x86)\WinSCP\ folder -
script=televoxPUT.txt
ren jcmr.txt jcmr.old
exit
getting this error 'script' is not recognized as an internal or external command, operable program or batch file
see the attachment.
eventually want to run this .bat file from Task Scheduler on Server 2008 R2.

I would appreciate any help on this...

Thank you.
Tina

Error.jpg

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,552
Location:
Prague, Czechia

Re: Error in .bat

Well, I do not see how this is related to WinSCP.
Anyway, if you are trying to set value of environment variable script, you need to use set command:
set script=televoxPUT.txt

Reply with quote

Advertisement

You can post new topics in this forum