public void MoveTo(string destFileName) { checkExists(); destFileName = IOTools.ExpandPath(destFileName); IOTools.Move(FullName, destFileName); FullName = destFileName; OriginalPath = FullName; Refresh(); }
/// <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(); }
public static void Move(string sourceDirName, string destDirName) { IOTools.Move(sourceDirName, destDirName); }
public static void Move(string source, string dest) { IOTools.Move(source, dest); //new FileInfoEx(source).MoveTo(dest); }