Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
comunico
Partner - Contributor III
Partner - Contributor III

Start an external file.bat

Hi All,

It's possible to create a macro that launch a file .bat located on c:\file\ ?

Have you an example of the code?

Thank you

6 Replies
Not applicable

spividori
Specialist
Specialist

Hi!.

You can add button object and properties indicates a file .bat that launch.

comunico
Partner - Contributor III
Partner - Contributor III
Author

excuse me but I don' understand, can you post an example. please

spividori
Specialist
Specialist

Hi!

Button example.

comunico
Partner - Contributor III
Partner - Contributor III
Author

Thank you Sandro.

I find the action event. But my problem is in Access Point. When I click the button in browser mode the .bat not run.

Miguel_Angel_Baeyens

Hello,

Make sure that the file you are launching is located in the server and the button calls for this path (\\server\folder\file.bat), otherwise it will look for it and eventually run in the client's local drive. Besides, check that Macro execution is allowed in server, in the Enterprise Management Console, System, Setup, QlikView Servers, your server, Security, "Allow macro execution on server".

Hope this helps