On Wed, 26 Oct 2011, Ed Avis wrote: > In many Windows shops it's common practice to run everything as > an administrator account, What a depressing thought. I sure hope this isn't true anymore. > so I think it would be useful for perl > to support Win32 symlinks, even if it won't work when running as > non-admin. Note though that running under an administrative account is not enough; the perl process would also have to be run with elevated privileges as well. The other complication is that for NTFS symlinks you need to know if the target is going to be a file or a directory when you create it. So what do you do when the target does not yet exist when symlink() is being called? And if you only care about symlinks for directories, then there is always Win32::Symlink on CPAN which already implements this. Cheers, -JanThread Previous | Thread Next