B
Bruce Vander Werf
Is there a method anywhere for extracting just the filename part of a
full path name?
--Bruce
full path name?
--Bruce
William Ryan said:Like Peter mentioned, the Path class is an easy way to do
it....
System.IO.Path p;
string s = Crypto.EncryptFile(FileName
(i));
string shortName = p.GetFileName(s);
The filename property of the fileinfo class (I think) will
give it to you as well..but I know the top one does.