Re: How to create relative file paths. We may need to encrypt the

Tech-Archive recommends: Fix windows errors by optimizing your registry



Wow, you guys are somewhere else. My question is about how to create relative
file paths (for lack of better terminology) and shorthand methods for naming
paths between files and folders. I didn't think it had anything to do with
navigating a network, trying to outsmart spyware, what directory I should
install programs in, or encryption.

Let me try to give a simple example:

I have 2 folders. (not really, but lets pretend OK)
Here are their absolute locations:

Folder 1 is at location C:\2dogs\my documents\folder1
Folder 2 is at location C:\2dogs\my documents\folder1\folder2

I also have 3 files. (not really, but lets pretend again OK)
Here are their absolute path names:

File 1 is C:\2dogs\my documents\folder1\main file
File 2 is C:\2dogs\my documents\folder1\sub file
File 3 is C:\2dogs\my documents\folder1\folder2\image

In File 1 there is a reference to File 2 that is in the same folder. File 1
refers to File 2 by using the absolute path name to File 2. In File 1 there
is also a reference to File 3 that is in a folder that is 1 level farther
down in the directory tree. File 1 refers to File 3 by using the absolute
path name to File 3.

I send the 2 folders (folder1 with folder2 inside it) to Bill (don't worry
about who Bill is because we are still pretending OK). Bill puts the folders
in his personal folder on his D: drive. So now the paths to the folders are:

D:\Bill\Personal Folder\folder1
D:\Bill\Personal Folder\folder1\folder2

When Bill opens the files and tries to use them they will not work because
all the references in those files point to locations that no longer exist.
That is because the references were absolute file paths that point to a
location on 2dogs C: drive.

There are methods for giving references using relative path names instead of
absolute path names and also methods for abbreviating path names both
relative and absolute. I Can't give better examples because I don't know
anymore about the subject. I have queried the Microsoft DB for hours and have
found nothing on this subject. These techniques must be documented somewhere.
My question is; Where?



--
2dogs in Oregon USA


.



Relevant Pages

  • Re: The BB
    ... Newton. ... "Absolute time, in astronomy, is distinguished from relative, by the ... references for daily and orbital motions in order to complete ... daily rotation yet he can't extract himself from the predictive 'fixed ...
    (sci.astro.amateur)
  • RE: How to create relative and shorthand file path names
    ... > that reference a child folder, or parent folder, or perhaps no folder at all ... This would seem to be an absolute necessity, ... > all the references in those files point to locations that no longer exist. ... > very Operating System dependent as well. ...
    (microsoft.public.word.vba.general)
  • Re: Names and Separate Worksheets
    ... it names a cell or a range of cells. ... Having changed your formula from absolute to relative references, ...
    (microsoft.public.excel.worksheet.functions)
  • Re: How to create relative file paths. We may need to encrypt the
    ... > paths between files and folders. ... > Here are their absolute path names: ... If it is an HTML file, you use HTML syntax to write the references, either ... What is the filetype of File1? ...
    (microsoft.public.windowsxp.newusers)
  • Re: Cut and Paste
    ... it to absolute references as explained earlier you can cut and paste ... See Right Click Menus (Context Menus) in Excel ... In Excel most RightClick event menus are used per worksheet. ...
    (microsoft.public.excel.misc)