Simulate UNC-Path with Domainname
Posted on 2009-04-16
I have to prepare some data with fix coded paths inside. I very often have to change the workstation name, but this works so I can simulate some customer servers and prepare the paths (which have to be accessible to configure the application).
But now I've got a big problem: I've to simulate a whole domain-name for a UNC path.
Example: "\\mycustomuncworkstationname\testshare" isn't a problem (wether really painful), but "\\mycustomuncworkstationname.sub.domain.com\testshare" impossible for me at the moment.
Is there any solution for this problem? I don't want to set up an AD.... I allready tried it via hosts-file, but this doesn't work for me for shares (pinging isn't a problem).