This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Utility: winln, a drop-in replacement for ln(1)


Attached is a small program that behaves very similarly to ln(1), but that works with Windows hard and symbolic links instead of Cygwin ones. Successful use of this program requires Vista or newer, a user with SeCreateSymbolicLinkPrivilege, and a symlink evaluation policy that allows the kind of symbolic link you'd like to create. If these conditions are met, however, this program becomes useful because it can create symbolic links that work equally well for Cygwin and non-Cygwin programs. Because its argument handling is practically identical to that of coreutils ln, winln can be used via a simple shell alias (or PATH prefixing, if you're feeling bold).

Attachment: winln.c
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]