Scripting Question

UNC syntax Online Kscript

07/18/2016 505 views

Hi I have been in the process of creating an online Kscript and need to point the directory to our server in the tasks.  When I run the program I get a 267 error (267) The directory name is invalid.
Error Code: 267
Status Code: 0.

When I see the command to run the program via UNC it creates an extra \ between the last directory name and the file it's supposed to run.

Any ideas. 

4 Comments   [ + ] Show comments


  • do you have an extension on the file in the unc?
  • .exe
  • Are you running the KScript as the logged on user or as a user with credentials that can access the share? By default scripts will run in the local system context which does not normally have access to UNC shares.
  • I was running it as logged in user. I switched it to a user with credentials. So far it appears to be working.

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ