search for: removedirectori

Displaying 3 results from an estimated 3 matches for "removedirectori".

Did you mean: removedirectory
2006 Jan 23
1
Odd Samba behavior using Windows XP client API RemoveDirectory function
I'm having problems with a utility I wrote deleting folders from a Thecus N4100 Samba based fileserver. I do not have access or control over its Samba config file and this may not be a Samba problem but perhaps someone here can point me in the right direction??? When I issue a Windows API RemoveDirectory function against an empty folder residing on a Samba share, the function returns with a
2007 Oct 08
1
Getting an actual system error
Heya all, I don''t think I''ve been paying attention. When a Windows API function fails, I could have been doing this: raise SystemCallError(GetLastError()) Instead of this: # Where ''Error'' is nested under the current class. raise Error, get_last_error I''m not sure how big of a deal this is in practice, however, or if it''s even preferred for
2007 Oct 04
0
Prototyping the Dir class
Hi all, I''ve been prototyping a Windows-only Dir class for Ruby. Below is what I''ve got so far. The class methods were easy, except for Dir.glob. The code in dir.c is just nasty, and I can''t help but think that it could be heavily refactored. I did come across this link: http://www.codeproject.com/file/fileglob.asp But I haven''t investigated it yet. Anyone