KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to get to a file located in C:\Program Files (x86)\test software\myapp\demo.exe In VS debugger i see the path as: "\"C:\\\Program Files (x86)\\\test software\\\myapp\\\demo.exe\"" when i print it out i see in console : "C:\Program Files (x86)\test software\myapp\demo.exe" but when i try something like FileInfo fi = new FileInfo(PathMentionedAbove); i get Illegal character in path. What is wrong? the file exists and path is correct. what's illegal above this path? any help would be appreciated.
Tags (comma-separated)
Save Edits
Cancel