Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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
tmeans@...

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