Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Hi,
have you tried set AllowExecuteCommand=1 in the file
“C:\Windows\System32\config\systemprofile\AppData\Roaming\QlikTech\QlikViewBatch\settings.ini" ?
you can find more info in Rob's post here QV 12.10 “Can Execute External Programs” is back | Qlikview Cookbook
Regards