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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Illegal characters in path??

Hi,

I was trying to run this command inside the script:

execute "C:\Users\sydney\AppData\Local\EasyQlik\QViewer\qviewer.exe" "C:\Temp\test.qvd"

Both the exe and qvd exist in those directories.  Yet I keep getting "Illegal characters in path"?  If I put the exe pointing to

that qvd file in a BAT file say "viewit.bat" and run EXECUTE "viewit.bat", it works.

Does anyone know what's wrong?

Thanks!

15 Replies
Anonymous
Not applicable
Author

I ended up creating a DOS BAT file and having QV executes this batch file which in turns invokes the qviewer.exe.  I can pass in the virtual table as well.  Anyway this is how I got it to work.  I still don't know why I get "Illegal characters in path" when only calling such a simple command.  If you know the root cause, let me know.  Thanks

sunny_talwar

I have no idea... the same worked for me without any problems...

Anonymous
Not applicable
Author

Do you mind posting your QVW?

sunny_talwar

Here it is

Anonymous
Not applicable
Author

I just took your sample and made a sub routine as exactly seen from the link i posted yesterday.  I attached here.

I ran it and it worked.   I guess I have to carefully review why it isn't working in the QVW file that I was trying to update

yesterday.  Thanks for your time.

sunny_talwar

No problem.... but I am glad you were able to get what you wanted...