Userlyjeolley
New Member
The error I am receiving upon executing my code is: 'ArgumentException was unhandled. Illegal characters in path.'I am using the following code to access my .xml file.\[code\] string appPath = Path.GetDirectoryName(System.Environment.CommandLine); FileInfo fi = new FileInfo(appPath + @"\Books.xml");\[/code\]I am doing this for a console application, as opposed to a WinForm. I have been exhaustingly googling, as well as searching SO, for some time.This is part of a homework project. This is the only problem I am running into however.