suppose I want to write ls or dir. how do I get the list of files in a given directory? something equivalent of .NET's Directory.GetFiles, and additional information.
not sure about the string syntax, but:
string[] filePaths = Directory.GetFiles(@"c:\MyDir\");