Topic "Error in .bat"

Author Message
tmeans@...

Guest


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 (43.55 KB)

Description: (none)

Error.jpg

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License