Displaying 2 results from an estimated 2 matches for "reparse_target".
Did you mean:
parse_target
2005 Mar 14
1
Ruby code to create junctions on NTFS volumes.
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
-------------- next...
2005 May 06
0
Ruby code to create junctions on NTFS volumes.
...unctions
> on NTFS volumes.
>
>
> 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/na...