Skip to main content

QlikView Administration

Discussion Board for collaboration on QlikView Management.

Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Contributor III
Contributor III

Execute and version 12 - failing.

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\" ^

   /command ^

    "open ftp://*******@##.##.##.##" ^

    "cd /usr/temp/" ^

    "mget startlogs.txt" ^



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.

1 Reply
Partner - Contributor III
Partner - Contributor III


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