[filesystem] create_symlink() support for Windows Vista?

Microsoft has published an API for Windows Vista supporting POSIX-like symbolic links. Unless someone has a killer argument against, I'll add a create_symlink() function to Boost.Filesystem. If anyone volunteers to test it, please let me know. --Beman

"Beman Dawes" <bdawes@acm.org> writes:
Microsoft has published an API for Windows Vista supporting POSIX-like symbolic links.
Unless someone has a killer argument against, I'll add a create_symlink() function to Boost.Filesystem.
This seems perfectly reasonable. In practice, however, I think any program that creates symlinks will be highly confusing for most Windows users, and thus this feature is likely not to ever be used by most users of the library. This seems to show how platform-specific many filesystem manipulations really are. -- Jeremy Maitin-Shepard

Jeremy Maitin-Shepard wrote:
"Beman Dawes" <bdawes@acm.org> writes:
Microsoft has published an API for Windows Vista supporting POSIX-like symbolic links.
Unless someone has a killer argument against, I'll add a create_symlink() function to Boost.Filesystem.
This seems perfectly reasonable. In practice, however, I think any program that creates symlinks will be highly confusing for most Windows users, and thus this feature is likely not to ever be used by most users of the library. This seems to show how platform-specific many filesystem manipulations really are.
Yes. It isn't just a question of whether or not something is supported, but also whether or not programmers use and are used to the idioms it allows. --Beman

On Tue, 01 Nov 2005 20:35:37 -0500, Jeremy Maitin-Shepard wrote
"Beman Dawes" <bdawes@acm.org> writes:
Microsoft has published an API for Windows Vista supporting POSIX-like symbolic links.
Unless someone has a killer argument against, I'll add a create_symlink() function to Boost.Filesystem.
This seems perfectly reasonable. In practice, however, I think any program that creates symlinks will be highly confusing for most Windows users,
You mean more confusing then magic folders that transport you around the filespace in odd ways -- like My_Documents?
and thus this feature is likely not to ever be used by most users of the library. This seems to show how platform-specific many filesystem manipulations really are.
I think links are an incredibly useful tool Unix and I sorely miss them when I use Windows...so I actually think this feature will get used extensively -- well at least by me ;-) Jeff

I think links are an incredibly useful tool Unix and I sorely miss them when I use Windows...so I actually think this feature will get used extensively -- well at least by me ;-)
Jeff
Made my day a few weeks ago finding out you can do symlinks on windows, check out http://www.sysinternals.com/Utilities/Junction.html. Extremely useful (and theres code as well so its possible this could be used for any Windows OS with NTFS not just Vista). Martin -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.7/156 - Release Date: 2/11/2005

Made my day a few weeks ago finding out you can do symlinks on windows, check out http://www.sysinternals.com/Utilities/Junction.html. Extremely useful (and theres code as well so its possible this could be used for any Windows OS with NTFS not just Vista).
To be sure, this only supports directory symlinks, not files. Martin -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.7/156 - Release Date: 2/11/2005

At 06:30 2005-11-02, Martin Slater wrote:
I think links are an incredibly useful tool Unix and I sorely miss them when I use Windows...so I actually think this feature will get used extensively -- well at least by me ;-)
Jeff
Made my day a few weeks ago finding out you can do symlinks on windows, check out http://www.sysinternals.com/Utilities/Junction.html. Extremely useful (and theres code as well so its possible this could be used for any Windows OS with NTFS not just Vista).
I've mentioned this many times in the past and have been "assured" that they really aren't "symlinks". Since I've used *nix about a total of 3 hours in my 4 decade career, I had to take people at their word.
Martin
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.7/156 - Release Date: 2/11/2005
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (5)
-
Beman Dawes
-
Jeff Garland
-
Jeremy Maitin-Shepard
-
Martin Slater
-
Victor A. Wagner Jr.