I think you need to escape those backslashes
\\\\server\\directory

-Cosku Ozdemir

CG Supervisor, Robotika Films
Maçka Talim Yeri Sok. 8/1, Maçka, İstanbul / Turkey
t: 2122277230   ///   f: 2122277231
www.robotika.com.tr /// [email protected]




On Tuesday, July 14, 2015 at 12:47:36 PM UTC+3, micheal wrote:
>
> hi guys i am new to python and i just trying out basic stuff 
>
> i am trying to open a folder in the server with a click of a button 
>
> i tried this 
>
> import subprocess
>
> def File ():
>    subprocess.Popen('explorer "\\**server\D\***\fbx\**\**"') 
>
> but it only works for local drives is there a way to make it work from any 
> path
>
> thank you for your time  
> micheal
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/47a644ea-ebe4-4db9-a2b3-f0a493cb93f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to