Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
mkdir « File Directory « Ruby
Ruby
File Directory
mkdir
1.
use Dir.mkdir to create directories
2.
specify absolute paths to create directories under other specific directories:
3.
If you need a directory, create it with mkdir; later on, delete it with rmdir (or delete, a synonym of rmdir
4.
set permissions on a new directory (not one that already exists) with mkdir