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   [ - ] Hide 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.
Please log in to comment

There are no answers at this time
Answer this question or Comment on this question for clarity