Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Kickstart NPrinting job from batch file triggered via QMC

Hi Guys

When I try to run a batch file from cmd I get the following error as below. Any ideas? Checked the 'Path' in environment variables and it points to 'System32' folder as expected.

Error

The system cannot find the file specified.

'C:\NPrintingTraining\ExternalRequestsXML\QVS.request' is not recognized as an internal or external command, operbale program or batch file.

Referred to the link to tackle this and used the same script as below.

How to Distribute Reports after Successful .qvw Reload on a QlikView Server – Customer Feedback for ...

QVS.processed

<?xml version="1.0"?>
<schedules>
<schedule file="C:\NPrintingTraining\NPrintingFiles\NPrintingTraining.nsq" type="job" entityName="Send a Report via Email" />
</schedules>

QVS.bat

move C:\NPrintingTraining\ExternalRequestsXML\QVS.processed C:\NPrintingTraining\ExternalRequestsXML\QVS.request

Regards

Kush.

1 Reply
Daniel_Jenkins
Specialist III
Specialist III

Hi Kush,

Please replace the Move command with the Ren command in your QVS.bat batch file.

HTH - Daniel.