[IronPython] Creating Symbolic Links via IronPython
Brian Curtin
brian.curtin at gmail.com
Sat Apr 2 03:45:26 CEST 2011
On Fri, Apr 1, 2011 at 20:32, Vernon Cole <vernondcole at gmail.com> wrote:
> Just to make sure we are all on the same page here, the original post said:
> >>>>
> >>>> I've been trying to find a solution for creating Symbolic Links via
> >>>> IronPython scripting, [...snip...]
> >>>> [Interop.DllImport("kernel32.dll", EntryPoint="CreateSymbolicLinkW",
> >>>> CharSet=Interop.CharSet.Unicode)] public static extern int
> >>>> CreateSymbolicLink(string lpSymlinkFileName, string lpTargetFileName,
> >>>> int
> >>>> dwFlags);
> >>>>
> Are we talking about making a Windows version of the standard library
> routine:
> >os.symlink(source, link_name)
> >Create a symbolic link pointing to source named link_name.
> >
> >Availability: Unix.
> ?
>
> And, if so, should we (can we) put in in the standard library?
The standard library includes Windows support for os.symlink as of 3.2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20110401/289cc34d/attachment.html>
More information about the Ironpython-users
mailing list