1

I am trying to get a list of all files in a specific xbox directory as shown below, however I get a 'System.NotSupportedException' - Additional information: The given path's format is not supported.

var path = @"XE:\MyDirectory";
var files = Directory.GetFiles(path);

Does anyone know a way around it? Thanks

RobV
  • 28,022
  • 11
  • 77
  • 119
virtual
  • 11
  • 1

1 Answers1

0

There's nothing built into the XNA Framework to allow you to do this. For getting the file names you can't use the GetFileNames method of the StorageContainer class?

Jim Perry
  • 435
  • 1
  • 3
  • 13