Re[2]: [PHP] symlink
| From: | Tom Rogers | Date: | Sat, 23 Sep 2006 21:53:13 +0000 |
| Subject: | Re[2]: [PHP] symlink | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242161@lists.php.net to get a copy of this message | ||
Hi,
Saturday, September 23, 2006, 10:37:20 AM, you wrote:
RL> On Mon, September 18, 2006 4:53 pm, Ross wrote:
>> Can someone explain how and why you would use a symlink in php?
RL> A symlink is the Un*x version of a Windows "shortcut" or the Mac's
RL> "alias"
RL> The difference being that a symlink actually *works* and a Windows
RL> "shortcut" is useless for anything except their crappy desktop app...
in windows 2k and xp you can use fsutil to create hard links in the
same NTFS volume.
Usage : fsutil hardlink create <new filename> <existing filename>
fsutil hardlink create c:\foo.txt c:\bar.txt
But it probably has a few bugs of its own :) and it can't do your edit
trick as it only works on files not directories as far as I can tell.
--
regards,
Tom