search for: create_junct

Displaying 5 results from an estimated 5 matches for "create_junct".

2006 May 26
13
win32-dir, unicode
Hi, I''ve got a preliminary version of the pure Ruby version of win32-dir in CVS. However, I was hoping to work out the Unicode issue. Run this: from = "C:\\test" to = "?????" Dir.mkdir(from) unless File.exists?(from) Dir.create_junction(to, from) It works, but my explorer (and dos) window shows the name garbled. I don''t think it''s a font encoding issue within Explorer, since I can create a folder called "?????" manually within Explorer and it looks correct. Any ideas? Dan
2012 May 18
7
Dir.create_junction with FFI
Hi, Try as I might, I just cannot get Dir.create_junction to work with FFI in the ffi branch of the win32-dir project. The problem is the REPARSE_JDATA_BUFFER struct. I''m just not sure how to set those members, specifically, the PathBuffer member. The target looks good, it''s UTF-16LE encoded, but I can''t make it work, despite...
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: juncti...
2005 May 06
0
Ruby code to create junctions on NTFS volumes.
...re 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 you...
2001 Oct 04
5
msdfs
Hello, Last week I submitted a problem with msdfs on samba. I didn't receive any reaction. I've also tried the samba-cvs version but this has also problems. We really like to use msdfs from samba, because we want to put all our homedirectories ( more than 4000 ) in one dfsroot. This is not possible with Microsoft's dfs because this has a limit of 1000 .... I didn't found this