use: $sdir(c:\program files, select a txt file) smirk