Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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?

2 Replies
m_woolf
Master II
Master II

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
Author

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.