PC Review


Reply
Thread Tools Rate Thread

Create a link to another folder

 
 
JR
Guest
Posts: n/a
 
      24th Apr 2007
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

 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      24th Apr 2007

"JR" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>


I suspect that you cannot do this under Windows. But why don't
you just move all files from "section1" to "section2"? "Move" is
very fast and does not depend on the size of each file. And if the
users keep putting the files into the wrong folder then you can
schedule a batch file to run every five minutes to perform the move
for you.


 
Reply With Quote
 
Mikhail Zhilin
Guest
Posts: n/a
 
      24th Apr 2007
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to create a link to a folder CarolynG Microsoft Frontpage 1 13th Dec 2006 12:53 AM
how do i create a link to a folder in a word document =?Utf-8?B?VGluYQ==?= Microsoft Word Document Management 1 19th Nov 2006 04:00 PM
How do I Create Toolbar link to Folder in Outlook =?Utf-8?B?R29yZG9uRw==?= Microsoft Outlook Discussion 1 23rd Aug 2005 01:01 PM
How to create a link to a browsable folder? =?Utf-8?B?QkRB?= Microsoft Frontpage 2 13th May 2005 02:14 AM
How Do I create an Directory Link in an Outlook Personal Folder =?Utf-8?B?RGlyZWN0b3J5IExpbmsgaW4gT3V0bG9vayBGb2xk Microsoft Outlook Discussion 0 27th Jan 2005 06:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:25 AM.