opendir DIR, 'c:/'; print join "\n", (readdir(DIR))[0,1]; __END__ output on my system: 2dvtllhn.sys ADOBEAPP