Пример #1
0
 public void MoveTo(string destFileName)
 {
     checkExists();
     destFileName = IOTools.ExpandPath(destFileName);
     IOTools.Move(FullName, destFileName);
     FullName     = destFileName;
     OriginalPath = FullName;
     Refresh();
 }
Пример #2
0
 /// <summary>
 /// Move this folder to specified directory (fullpath)
 /// </summary>
 public void MoveTo(string destDirName)
 {
     checkExists();
     //iStorage = null;
     //iShellFolder = null;
     destDirName = IOTools.ExpandPath(destDirName);
     IOTools.Move(FullName, destDirName);
     FullName     = destDirName;
     OriginalPath = FullName;
     Refresh();
 }
Пример #3
0
 public FileInfoEx(string fullPath)
 {
     fullPath = IOTools.ExpandPath(fullPath);
     init(fullPath);
     checkProperties();
 }