UNC syntax Online Kscript
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? - SMal.tmcc 8 years ago
-
.exe - fleminsa 8 years ago
-
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. - chucksteel 8 years ago
-
I was running it as logged in user. I switched it to a user with credentials. So far it appears to be working. - fleminsa 8 years ago
Answers (0)
Please log in to answer
Be the first to answer this question