От: | Kalina9001 | ||
Дата: | 18.01.11 10:48 | ||
Оценка: |
__>var dn = Path.GetDirectoryName(fileName);
__>dn = dn.Substring(dn.LastIndexOf('\\'));
__>
var fileName = @"D:\MyApplications\Application1\..\App1.exe";
var dn = Path.GetDirectoryName(fileName);
dn = dn.Substring(dn.LastIndexOf('\\'));