troubleshooting Question

How do you dynamically redirect a program to a directory (where it is can change)?

Avatar of developmentguru
developmentguruFlag for United States of America asked on
DelphiWindows XP
15 Comments1 Solution294 ViewsLast Modified:
My first question on ExpertsExchange...

  I am looking for some ideas to get around an old problem.  I have an application that needs to be able to find files on one of our servers.  I need a quick way of implementing directory redirection so I can change the location on our servers and all of the outside computers will know to go to the new location without any user interaction.

  I had thought to try a folder redirections scheme, but I am not finding much on doing that for server files (normally just for my documents).

  I tried using a DNS redirect from a name to an IP address of a system with a shared directory name and could not get that to work.

  I thought this might be my first valid SOA need (although a minor one - GetFileStorageLocation... or something like that).  I am not too worried about the data being sent, I can encrypt it.  I am not even too worried about an outside entity getting their hands on the location since they would need access.

  I will award points to all who can give me a workable solution that meets my needs - with the bulk going to the one I wind up using.  Please show examples, or links to examples, in Delphi code (.NET or WIN32).
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 15 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros