Shorten path to a file in location line?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to shorten the path to a file on the computer?

I store all data files in the proper location as recommended in:
C:\Documents and Settings

However, I manage huge Websites that are many thousands of pages big and
many directories deep. When working with different applications, this long,
sprawling path in the location/address line is a pain. When saving a file,
having to drill down through all those directories is time-wasting. Then,
when you do a mouseover of a file that is open, many programs do a quick
popup to show the file location. With this long path to the file, you cannot
see the whole path. Then, when using an application such as CuteFPT, that has
left and right pannels – the left for local files, and the right for server
files, because the path is so long, you have to drag the vertical window
divider back and forth to view the entire location of where you are.

I am required to keep my data files as such on my computer at work:

C:\Documents and Settings\MyName\My Documents\directory\subdirectory\
subdirectory2\subdirectory3\subdirectory4\filename-here.html

That is a typical file path. There are other directories that have 6-7
subdirectories. Is there anyway to still have the files in the required
directories – however – in the address/location line, and other applications
(when saving or accessing), show a shortend address. Like with a Web site,
assuming domain.com is a given, the path in an html document would be:
.../../images/filename.gif

And the path in the address/location line would look like this if you were
viewing this file locally. Here assuming that the following is C:\Documents
and Settings\MyName\My Documents, it would read like this:
.../../../images/filename.gif

It’s hard to imagine that this is not possible. Thank you in advance for
your answers.
~Spyder
 
In Spyder <[email protected]> had this to say:

My reply is at the bottom of your sent message:
Is it possible to shorten the path to a file on the computer?
<snip>

Yes, store the file in a shorter path... e.g. C:\Internet or something along
those lines. If your admin won't let you speak to them about changing
policy.

Galen
 
in
microsoft.public.windowsxp.customize:
Is it possible to shorten the path to a file on the computer?

I store all data files in the proper location as recommended in:
C:\Documents and Settings

However, I manage huge Websites that are many thousands of pages big and
many directories deep. ....
Then, when using an application such as CuteFPT,

Sure -- use SUBST. (Hit Windows+F1, enter SUBST in the window, pick
the only item in "Suggested Topics".)

You can issue the SUBST command from the command prompt or in a
Start->Run window. For instance, I just now did
subst p: "c:\Documents and Settings\Stan"
(note quotes) and then a new virtual "P" drive shows up in
Explorer.

You want to SUBST an unused drive letter to the root directory of
your local copy of the Web site.
 
Back
Top