File path with a semi-colon in it.

  • Thread starter Thread starter Alastair MacFarlane (UK)
  • Start date Start date
A

Alastair MacFarlane (UK)

Guest
Hi,


I am wondering if anyone could advise me whether there is a way to ignore an escape character, e.g. semi-colon in a file path when I am trying to get a list of all the files in a directory. I get the DirectoryNotFoundException exception.

So if the path is I:\All I can see is; you\, when you use any directory classes, file listing you only get is I:\All I can see is. It stops at the semi-colon. I see many mentions of this problem but not solution for VB users. I thought I could read character by character but VB does not see anything after the semi-colon.

Has anyone any suggestions please?

Thanks.


Alastair

Continue reading...
 
Back
Top