Hello Community, we wrote a batch files to copy text files from one place to another place. All these scripts are created in Qlikview Source documents folder and folders are shared folders.
I am running the batch file manually its working as expected. So I created Supporting Task on QEMC try to run with following command and its not working.
"\\servername\ExternalScripts\Batch\copytxt.cmd" ===> Not Working
But I copied the file QEMC server locally & running command its working.
"D;\Externalscripts\copytxy.cmd" ===> Working
Why the supporting Task is not running the batch file with UNC Path ? Is there any setting I need ti turn on ?
Are the credentials used to map the d: drive the same as user that runs the QMC service? Perhaps, as a test, you could launch a command prompt or Explorer window as that user, and see if it lets you browse to that UNC path, just to verify that that user has rights to read/execute the file in that directory.
Do you have any more information about the execution failure aside from "it doesn't work"? A Supporting task also creates a task log and that one may contain additional information about the failed batch execution.
External tasks execution paths are normally specified using the drive letter on the server. Have you tried using the drive letter in the TaskDef?
Hi Rob, Batch files are not local to QEMC server and batch files are on shared drive. If I copy the batch file to local folder and batch file running fine. But I am running through UNC path (shared drive path \\servername\) & its doing nothing.
Got it. If you invoke it using the unc path from your local machine, does it work? If not, you can debug t from there.