I might be looking too hard into this, but I am having trouble creating a directory on my network using the mkdir function.

I know the syntax is

mkdir ("/path/to/my/dir", 0777);
but how do I use this to create a directory on another server in my windows network? The directory I'm trying to create is \\mrserver\data\dir1

Thanks for your help!