Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
microwin88x
Creator III
Creator III

Open URL from Script

Hello,

I have a QVW where I need to execute a command to open a URL by script (for example, www.google.com).

But I couldn't do it so far.

Do you know how could I do that?

Thank you!

6 Replies
avinashelite

If you want to execute the command

execute cmd.exe your command


if you want to load data from URL then

How to call a WebService to pull some data into the QV application\

Loading Data from Internet files

microwin88x
Creator III
Creator III
Author

Hi,

I've tried it with:

execute cmd.exe start google.com

But it doesn't work and it works when I open cmd and execute start google.com manually...

avinashelite

What's the error your getting ? do you have the permission to execute the cmd ? because  their might be restriction 

microwin88x
Creator III
Creator III
Author

Yes, what I get is that the CMD prompt opens when I run the script but it stays with the C:> and the cursor blinking

avinashelite

Try like this

execute cmd.exe start www.google.com


this ran successfully for me

sasiparupudi1
Master III
Master III

May be try

let vVar='cmd.exe /C start www.google.com';

execute  $(vVar)   ;