Created
September 5, 2017 12:49
-
-
Save tablacus/bef571b3d0a5da2436e23964a6d632e1 to your computer and use it in GitHub Desktop.
Move selected items to the parent folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var FV = GetFolderView(Ctrl, pt); | |
var Selected = FV.SelectedItems(); | |
if (Selected) { | |
var oDest = sha.NameSpace(fso.GetParentFolderName(api.GetDisplayNameOf(FV, SHGDN_FORPARSING))); | |
if (oDest) { | |
oDest.MoveHere(Selected, FOF_ALLOWUNDO); | |
} | |
} |
Author
tablacus
commented
Sep 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment