Raider5678 Posted May 31, 2017 Posted May 31, 2017 Hello, How would you change windows explorer so that you can have a file in two different locations without the file being copied? That seems like it would save a lot of space.
TakenItSeriously Posted May 31, 2017 Posted May 31, 2017 (edited) As in several web pages that draw files from a single database? You can assign each web page a prime number then assign their semi-primes to each file. example: WP A p1 = 2 WP B p2 = 3 WP C p3 = 5 ... then, say you have a file that you want linked to A and C but not B. You can assign the file an index of primes: eg index = p1*p2 = 10 So each web page can use the mod function to filter only the files that belong to them from the single DB idea was not origionally mine BTW. unfortunately, I only heard about it second hand sometime back in the 80's and used it to create my first program which was a phone book app. Edited May 31, 2017 by TakenItSeriously
fiveworlds Posted May 31, 2017 Posted May 31, 2017 (edited) How would you change windows explorer so that you can have a file in two different locations without the file being copied? You can use symbolic links, hard links, junctions and libraries. For a single file you would use a hard link which basically makes the computer think the file exists at a specific path but it actually exists elsewhere (it even works with different hard drives). You probably won't need to use it properly but basically you may only add so much to environment variables so programmers add symbolic links to system32 to have access to all their build tools. Edited May 31, 2017 by fiveworlds
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now