If your drive is an NTFS one -- you can use the utility "Junction" by
Mark Russinovich,
http://www.microsoft.com/technet/sys.../Junction.mspx
Move all the files from c:\app\section2 to c:\app\section1 folder,
delete c:\app\section2 folder, and execute the command (Start -- Run...,
press "Browse" button, find and select Junction.exe here -- in the
folder -- say, c:\Store_Folder -- you put it):
c:\Store_Folder\junction.exe c:\app\section2 c:\app\section1
The symbolic link (faked folder) c:\app\section2 will be created --
which points actually to c:\app\section1.
The content of both c:\app\section1 and c:\app\section1 folders will
always be the same -- doesn't matter in which of them your application
saves or deletes its file(s).
--
Mikhail Zhilin
MS MVP (Windows - Shell/User)
http://www.aha.ru/~mwz
Sorry, no technical support by e-mail.
Please reply to the newsgroups only.
======
On 24 Apr 2007 05:10:49 -0700, JR <(E-Mail Removed)> wrote:
>I have a program that is hard coded to look at:
> - c:\app\section1
> - c:\app\section2
>
>for file content. In both of these folders can be numerous files and
>folders, perhaps thousands. There is specific content that goes in
>each. Now in the infinite wisdom of the person using the program,
>they failed to follow their training and stuck everything in
>section1. Without getting into the details, without copying 2 GB of
>files and folders into both folders duplicating the content so the
>program will find what it needs, is there a way in DOS or XP to point
>the section2 folder to section1? Not sure if a subst would work. The
>application, if you want to call it that, is Excel using VBA code.
>
>Thanks.
>
>JR