1

A want to recursive enumerate the files in a directory. If I use

Directory.EnumerateFiles(Server.MapPath("~/"), "*.aspx", SearchOption.AllDirectories).Select(Function(a) Path.GetFullPath(a))

It returns a string list of Absolute Paths starting with the drive letter. I want to get a list of Relative Paths only (Relative to Application Folder).

RAK
  • 273
  • 1
  • 12

0 Answers0