Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

xp_cmdShell

Hi,

I'm trying to use xp_cmdshell to trigger a reload. This is the code:

Declare

@s varchar(100)

set

@s= '"C:\Program Files (x86)\QlikView\qv.exe" C:\Dobits\Dotarem_Tracker.qvw /r'

print

@s

Exec

master.. xp_cmdshell @s

The string works when I cut and paste into a run cmd but it just hangs when run through using the able code - although an instance of qv starts up. Any idea's?

Thanks in advance,

Pete





0 Replies