dimanche 30 mars 2014

Emulate Network-/UNC-Path


Vote count:

0




I'd like to know if it's possible to "fake" a network-path on a local, single computer.


Details:


There is a network and there are some scripts/programs on various computers using a specified directory on a central server. This path is used and included using UNC format, like \\Server001\This\Path.


That's all fine.


But sometimes i'd like to work on this things when i'm not on a computer that has access to that network or server. A single, standalone computer. As the code i'm working with is looking for that server directory, this obviously won't work.


The "easy" solution to be able to work on this separated computer would be: change all server-paths to a local directory when working on it, then change again when copying on the server. But that doesn't seem to be an good solution.


So i'd like to know if it's possible to use an UNC-name on a local folder? Is there any way to make a directory like C:\tmp\working available as \\Server001..?


The only things i've come across do the opposite, which seems to be a more usual thing: hide the network path and use some drive or folder instead. Lots of methods to do this.


Also, it would be possible to give that local computer the Name Server001 and share a directory named as the one used by the code - but to rename this computer should be avoided.


Any ideas? Am i missing something? Are there better ways to do such things?



asked 1 min ago

xph

32





Aucun commentaire:

Enregistrer un commentaire