There is a hint in the "Specify Output File" dialogue box when you are setting up the scripted export. In the Examples, check out the "Network path" option: filewin://computerName/shareName/directoryName/fileName
Note that "computerName" can be an IP address OR a computer's network host name.
I think the key for you is to include "filewin:" when you set the variable.
Thank you, I was ablt to get this to work now by using "filewin".