From: Daniel Berger Date: 2003-10-11T09:09:29+09:00 Subject: [ANN] win32-service 0.1.0 Hi all, I am very pleased to announce the first release of win32-service. This is an interface for reporting, and creating, Win32 services on Windows NT, 2000 and XP Pro. Synopsis ======== require "win32/service" include Win32 s = Service.new( :service_name => "foo", :exe_name => "C:\\some_dir\\foo.exe", :display_name => "My Foo Service" ) s.create_service Service.start("foo") Service.pause("foo") Service.resume("foo") Service.stop("foo") Service.delete("foo") Service.getdisplayname("Schedule") # "Task Scheduler" Service.getservicename("ClipBook") # "ClipSrv" # Enumerate over all services, inspecting each struct Service.services{ |s| p s puts } This is the first package I've released as part of the win32utils project, located on RubyForge at http://rubyforge.org/projects/win32utils/. Feedback welcome. Enjoy! Regards, Dan __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com