If you use the following syntax that just calls the script, the prompt will appear (not what you want):
\\server\share\script.pts