[IronPython] Creating Symbolic Links via IronPython

Vernon Cole vernondcole at gmail.com
Sat Apr 2 03:32:08 CEST 2011


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?
--
Vernon



More information about the Ironpython-users mailing list