Re: How to create relative file paths. We may need to encrypt the
- From: "2dogs" <2dogs@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 8 May 2005 13:57:01 -0700
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
.
- Follow-Ups:
- References:
- How to create relative file paths
- From: 2dogs
- Re: How to create relative file paths
- From: glee
- Re: How to create relative file paths. We may need to encrypt the name of the Windows folder so the spyware junk won't find it!
- From: Cymbal Man Freq.
- Re: How to create relative file paths. We may need to encrypt the name of the Windows folder so the spyware junk won't find it!
- From: Shenan Stanley
- How to create relative file paths
- Prev by Date: Re: How To Find A Spyware On The Computer?
- Next by Date: Re: New windows whilst searching the internet
- Previous by thread: Re: How to create relative file paths. We may need to encrypt the name of the Windows folder so the spyware junk won't find it!
- Next by thread: Re: How to create relative file paths. We may need to encrypt the
- Index(es):
Relevant Pages
|