We have script that ran perfectly fine in 11.2 version yet stop working in version 12. Below is script.
//Map drive:
EXECUTE cmd.exe /C "net use m: "c:/temp"";
//Change directory to mapped drive
Directory m:\
// Execute bat file
Execute cmd.exe /c "sample.bat";
simle bat file that use WinSCP to copy file from ftp site. I have tested bat file and run completely fine by itself. Below is content
@echo off
"c\WinSCP\WinSCP.com" ^
/command ^
"open ftp://*******@##.##.##.##" ^
"cd /usr/temp/" ^
"mget startlogs.txt" ^
exit
Error:
General Error Execute cmd.exe /c "sample.bat"
Settings check:
All settings related to execute commands are checked and confirmed, ie script settings, ini file to allow execute, user preference, document properties.