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

Daniel Colascione dan.colascione@gmail.com
Mon Apr 4 22:09:00 GMT 2011


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).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: winln.c
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110404/7fb00c1b/attachment.c>
-------------- next part --------------
--
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


More information about the Cygwin mailing list