specify absolute paths to create directories under other specific directories:
Dir.mkdir("/mynewdir") Dir.mkdir("c:\test")