Running .bat file within the C:\program files (x86)\WinSCP\ folder -
ren jcmr.txt jcmr.old
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.
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 _________________ Martin Prikryl