Articles

trying to schedule a script in DOS

November 25, 2012 at 21:27:37
Specs: Windows 7

Hi,
i need to run below script once in a day say 8:00 am through DOS(having issues with windows scheduler)

cmd "C:\Program Files\QlikView\qv.exe" /r /nosecurity "D:\QlikView\Book-Bill\Book-Bill.qvw"

is it possible in DOS in Windows server 2008?

Thanks in advance.


See More: trying to schedule a script in DOS

Report •


#1
November 25, 2012 at 21:51:05

You might be confusing the parser with obscure quote placement.
cmd "C:\Program Files\QlikView\qv.exe" /r /nosecurity "D:\QlikView\Book-Bill\Book-Bill.qvw"

I would try this:
cmd "C:\Program Files\QlikView\qv.exe /r /nosecurity D:\QlikView\Book-Bill\Book-Bill.qvw"

and, with "at", I found that absolute paths are very critical, at least with win-XP. No implied or relative paths will work.


Report •

#2
November 25, 2012 at 22:03:15

Hi Nbrane,
thanks for your quick reply.
if i take off double quotes, CMD is not recognising /nosecurity command.

Report •

#3
November 25, 2012 at 22:16:17

what is "nosecurity" ? part of qv.exe? I don't see it in 'CMD' optons...

Report •

Related Solutions

#4
November 25, 2012 at 22:25:49

The /nosecurity will override the Macro security in QV file(Qlikview).

Report •

#5
November 26, 2012 at 04:16:57

naveenr: is it possible in DOS in Windows server 2008?
That would require DOS, which has never been present in the Windows server line.

naveenr: having issues with windows scheduler
Such as?

My suggestion?

"C:\Program Files\QlikView\qv.exe" /r /nosecurity "D:\QlikView\Book-Bill\Book-Bill.qvw"

How To Ask Questions The Smart Way


Report •


Ask Question