[Win32utils-devel] Ruby code to create junctions on NTFS volumes.
zdennis at mktec.com
Thu May 5 18:24:35 EDT 2005
Timothy Byrd wrote:
> Here is some Ruby code for creating junctions on NTFS volumes.
> These are the main routines:
> Dir.junction?(dir) => true if dir is a junction
> Dir.reparse_target(dir) => returns the target of a junction, or dir
> Dir.create_junction(junctName, existingTarget) => creates a junctName
> junction pointing to existingTarget
> (also used (Dan's?) GetLastError code and did some simple wide/narrow
> character conversion)
Timothy, I was able to test your code out tonight. It is very very
awesome! This is a big help! Thank you so much!
Could this code get put into win32-dir ?
More information about the win32utils-devel