Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

To run a DOS command on qlikview button click

I want to create an action in a button that will trigger a DOS cammand to be run

The required DOS command is

C:\Image2PDFCommandLineTool\V2-73\Image2PDF.exe -UseActualImageDPI -image "C:\Image2PDFCommandLineTool\V2-73\Examples\Test images\Lake district.jpg" -output "C:\Example 01.pdf" -OpenPDF

Can anyone tell me which button action can support this?

Tags (2)
2 Replies
mwoolf
Honored Contributor II

Re: To run a DOS command on qlikview button click

Google says:

Set WshShell = CreateObject("WScript.Shell")

WshShell.Run "file.bat" 'run batch file, Use your absolute path here

WshShell.Run "command.com /k " & CommandLine 'run DOS commands

Not applicable

Re: To run a DOS command on qlikview button click

I am not so much experienced in qlikview and I find difficulty in following your suggestion.

where do I specify these codes? is it something like macro?

Can you please explain this a bit more.

Community Browser