Redirecting Network File Paths
Posted on 2009-03-29
I am in the process of moving a considerable amount of files from one network to another. I am using a series of control XML files to define the files that are being migrated from my old network. My problem is that I will now need to import these files into the software I am using on my new network. I would like to do this by referencing the control files I have already created, but the network files paths will be incorrect. Changing these files paths manually or through an automated fashion, will be troublesome as the XML files are spread out of a wide range of directories containing nearly 50,000,000 assets.
So what I would like to do is implement some sort of logic at the system or network level that detects when a certain file path from my old network is called that it redirects the path to a path that works in my new network. So for example:
gets redirected to:
I thought there was a way to do this on Windows servers through the hosts file, but I can't figure it out. Can someone please help me?