Gateway Script can't open directory

Is your client running on the same machine as the gateway? The P drive might be a mapped drive that didn’t make it to all of the computers. You might want to try something like ‘’\MyComputerName\SharedFolder" instead.