D
Daniel Berger
Hi all,
The Win32 Utils Team is happy to announce the first release of
win32-dir.
What is it?
===========
A series of extra constants for the Dir class that define special
folders on Win32 systems. That's it.
Like what?
==========
For example, if you want the "Windows" directory on your system, you
could do this:
require "win32/dir"
p Dir::WINDOWS
That could return C:\WINDOWS, C:\WINNT, or whatever you set it to when
you installed Windows. This is much easier than doing a bunch of
File.exists? checks.
Where is it?
============
It's available on the RAA, or on the Win32 Utils project page at
http://www.rubyforge.org/projects/win32utils.
Enjoy!
The Win32 Utils Team
The Win32 Utils Team is happy to announce the first release of
win32-dir.
What is it?
===========
A series of extra constants for the Dir class that define special
folders on Win32 systems. That's it.
Like what?
==========
For example, if you want the "Windows" directory on your system, you
could do this:
require "win32/dir"
p Dir::WINDOWS
That could return C:\WINDOWS, C:\WINNT, or whatever you set it to when
you installed Windows. This is much easier than doing a bunch of
File.exists? checks.
Where is it?
============
It's available on the RAA, or on the Win32 Utils project page at
http://www.rubyforge.org/projects/win32utils.
Enjoy!
The Win32 Utils Team