Recent Posts
- (09/10) Fixing Warning: the ECDSA host key for 'github.com' differs from the key for the IP addressTAGS:Web Server Admin
- (12/26) CakePHP 3 - Getting List of Column Definitions from a Table (like schema())TAGS:CakephpCake3
- (09/14) Change Order of Loaded Behaviors in CakePHP 3TAGS:Cake3CakephpWeb ProgrammingPhp
- (05/29) CakePHP 3 - Accept JSON Header Only Working When Debug FalseTAGS:Web ProgrammingCakephpCake3
- (05/23) Remove All Events from Google Calendar (Reset Calendar)TAGS:Web ProgrammingPhp
- (11/08) Google Tag Manager (GTM) Not Firing Default PageView EventTAGS:Web ProgrammingJavascriptGoogle Tag Manager
- (10/13) In PHP, how do you get __toString() Magic Method Result without calling echo?TAGS:CakephpCake3Cakephp 13PhpWeb Programming
- (11/14) Getting output from shell_exec() at all timesTAGS:Web ProgrammingWeb Server Admin
Subscribe to my feed
MainelyDesign.com Blog
Faking Symlinks on Windows 2003
Posted on 09/17/2009 at 04:25 pm by Kevin Wentworth
Viewed 17,545 times | 0 comments
My production server is a LAMP server. I love it. I have one cental location for my CakePHP application and symlink the folders I need to each individual hosting account. It's pretty easy to do and very powerful. I work on another server that is Windows 2003. Everytime I sit down to do work, I bemoan not having the ability to create symlinks. Turns out there is a way...
Junction Links are essentially Symlinks in Windows
Sweet! I don't care what a symlink is called on Windows, but it's called a Junction Link and I want one. There's no built in GUI support for junction links, but I found this great program.
Here's the steps I took to make a symlink on Windows 2003:
- Download and Install Junction Link Magic
- You will need to have an empty folder that will mirror the contents of the source folder
- Open the application...
- Junction Link is the empty folder (the folder that will be filled with source files)
- Destination is the source folder (where the files actually reside)
- This confused me the first time, but remember target is on the left (top), source is on the right (bottom) of the wizard/interface.
I'll give the disclaimer that they give- for advanced users only. I guess you can really screw things up, which is why this functionality is basically undocumented by Microsoft.
I hope this helps someone work easier with Windows 2003 and symlinks, err... junction points.
Cheers,
-Kevin Wentworth
Tags for Faking Symlinks on Windows 2003
Apache | Windows | Web Server Admin | Cakephp | Iis | Hack | Software | Vendors
Comments for this Posting
No comments. Be the first to post a reply.
Sorry, comments are closed for this posting.
Please Email Kevin if you have any questions. Thanks!