David Kastrup wrote:
If anybody is as fortunate as to actually have Vista available, it would be nice if he corroborated that relative links under Vista are indeed (as Microsoft appears to claim) relative with regard to the current work directory rather than the directory containing the link.
I believe the wording "resolves the path relative to the current directory" actually refers to the creation of links, not to their use.
C:\stest>ver Microsoft Windows [Version 6.0.6000] C:\stest>echo test > file C:\stest>mkdir links C:\stest>cd links C:\stest\links>echo links > file C:\stest\links>mklink relative file symbolic link created for relative <<===>> file C:\stest\links>mklink dotted .\file symbolic link created for dotted <<===>> .\file C:\stest\links>mklink parent ..\file symbolic link created for parent <<===>> ..\file C:\stest\links>mklink rooted \stest\links\file symbolic link created for rooted <<===>> \stest\links\file C:\stest\links>mklink absolute c:file symbolic link created for absolute <<===>> c:file C:\stest\links>dir 07/09/2007 08:09 AM <DIR> . 07/09/2007 08:09 AM <DIR> .. 07/09/2007 08:09 AM <SYMLINK> absolute [C:\stest\links\file] 07/09/2007 08:09 AM <SYMLINK> dotted [.\file] 07/09/2007 08:09 AM 8 file 07/09/2007 08:09 AM <SYMLINK> parent [..\file] 07/09/2007 08:09 AM <SYMLINK> relative [file] 07/09/2007 08:09 AM <SYMLINK> rooted [\stest\links\file] C:\stest\links>cd .. C:\stest>type links\relative links C:\stest>type links\dotted links C:\stest>type links\parent test C:\stest>type links\rooted links C:\stest>type links\absolute links C:\stest>mkdir a C:\stest>echo a > a\file C:\stest>move links a 1 dir(s) moved. C:\stest>type a\links\relative links C:\stest>type a\links\dotted links C:\stest>type a\links\parent a C:\stest>type a\links\rooted The system cannot find the path specified. C:\stest>type a\links\absolute The system cannot find the path specified. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html