I copy set of folders from server 1 to server 2. Amongst files I also have junction: folder with set of config files: on 开发者_开发知识库server 1 this junction points to... let's say c:\Config (that contains config1.cfg, config2.cfg)
On server 2 I also have c:\Config with the same set of files, but of course they contains their own settings that I do not want to overwrite.
So what I want to do is to copy junction AS-IS. Instead, I get copies of config1.cfg and config2.cfg from server 1 :(
How to solve this problem??
p.s.1. it's long to explain, but I cannot avoid of using junctions here (it has something to do with limitation of where configuration must be placed (subfolder-'junction' points to 'outside' folder))
p.s.2. OS is Windows Server 2003
FastCopy is a small program that does.
Copying junctions don't make any sense from drive to drive - a junction points to a specific node on disk. What you really want is a Symlink, which points to a specific path in the filesystem, but unfortunately this doesn't exist on Server 2003. You're out of luck here, you'll have to just fix this up in a post-copy script.
精彩评论