search for: junctnam

Displaying 2 results from an estimated 2 matches for "junctnam".

Did you mean: junctname
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 part -------------- A non-text attachment was scrubbed... Name: junction.rb Type:...
2005 May 06
0
Ruby code to create junctions on NTFS volumes.
...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 t...