Page 1 of 3 123 LastLast
Results 1 to 15 of 45
  1. #1
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,767
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Move to parent folder (XP Home SP2)

    I often find myself working in a folder and wanting to move (sometimes copy) some files from that folder to its parent. There are several ackward ways I have found to do this. Is there anything more elegant? For example, being able to right click the file(s) and maybe have a Send-To item for the parent (move or copy to). Of course, I don't want to have to actually add the item for the specific folder since I never know when I want to do it. Another more elegant way would be similar to a UNIX file listing, which has an entry (2 dots) for the parent folder in the current folder where I could drag the files to the parent's entry in the current folder.

    Thanks.

    Fred

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    I use a 5-button mouse (the Intellimouse Optical) and the two additional buttons have default settings of Back and Forward. Apart from being very useful when browsing, they also earn their keep when using Windows Explorer.

    If you navigate from the parent folder directly to the sub-folder, it is simply a matter of copying/cutting the files you want, LL-click to get back to the parent, paste, and then RR-click to return to the same place in the sub-folder.

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Move to parent folder (XP Home SP2)

    In Windows Explorer, you can drag files from the right hand pane to the node of the parent folder in the left hand pane. Drop the files to move them, or drop them with Ctrl held down to copy them.

    Or select the files, press Ctrl+X to cut or Ctrl+C to copy them, click the Up button on the toolbar, then press Ctrl+V to paste the files.

    Or keep two instances of Windows Explorer open, one on the parent folder and one of the subfolder. You can drag files from one window to the other.

  4. #4
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Move to parent folder (XP Home SP2)

    You might also want to take a look at the 3rd party program 2X Explorer.
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  5. #5
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,767
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    Hi Doc,

    I looked at 2xExplorer - it's been replaced by a whole new engine called explorer-squared which has both a lite and pro version. Don't know if you knew that. I might give these a shot as a first step.

    Fred

  6. #6
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,767
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    Hans and Leif,

    I might go with the 3rd party pgm suggested by Leif although not sure if it does what I want.

    I hardly ever copy/paste files in Win Explorer although this certainly would solve the problem; I just never think of this solution.

    As far as dragging to the folder view on the left per Hans, I usually work with either the task view, search view or no view for the left pane. While I know I can change to folder view momentarily for this purpose, there sometimes is a reason not to do so. So I'll keep this in mind also.

    Fred

  7. #7
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Move to parent folder (XP Home SP2)

    Fred,

    My bad.... <img src=/S/blush.gif border=0 alt=blush width=15 height=15> I should have looked at the page I linked you to a bit more carefully. I suppose the developer had to pay some bills and the donations weren't rolling in fast enough <img src=/S/grin.gif border=0 alt=grin width=15 height=15>.

    Thanks for the heads-up on the change. The original has a place in my toolbox, so I'll have to check out the upgrade. After all, the price on the lite version is still very attractive. <img src=/S/yep.gif border=0 alt=yep width=15 height=15>
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  8. #8
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    I use a registry hack that's been around for a while to extend the context menu. Here's how:

    Click Start -> Run and enter regedit. Click OK. Navigate to HKEY_CLASSES_ROOTAllFilesystemObjectsshellexContex tMenuHandlers. Right-click the ContextMenuHandlers entry, and from the menu select New -> Key. Name the new key Copy To. Repeat this and name the second key Move To.
    <UL><LI>For CopyTo set the default value to {C2FBB630-2971-11d1-A18C-00C04FD75D13}.
    <LI>For MoveTo set the default value to {C2FBB631-2971-11d1-A18C-00C04FD75D13}.[/list]Now when you right click on a file or folder, above the send to option are two new options: Copy to Folder and Move to Folder.
    -Mark

  9. #9
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,767
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    Mark,

    Depending on answers to below, this might be what I'm looking for.

    I did open regedit and nav'd to the key you mentioned. I'm assuming I'm right clicking on ContextMenuHandlers on the left pane, not the on the right pane in the contents of the ContextMenuHandlers folder (although I'm not sure it makes a difference). I see in either pane the ability to add a new key. That's as far as I went for now. Is this correct?

    The string in { } - I see that these differ by 1 hex digit. What does this stuff mean and what other values might one give to the key if the values you provided are defaults?

    Most importantly is what I see after exiting Regedit. You mention 2 new entries in the right click menu directly above Send To giving the ability to Move to Folder and Copy to Folder. Which folder? Am I going to get a browse window or something to allow me to navigate? Or will Windows, after the reg edits are done, always know that the "folder" to copy/move to is the parent of the folder that the file is in even tho that oviously depends on the folder the file currently lives in? My Christmas wish is for the latter (so what if I'm 2 months late).

    As a side question, what happens if I right click a shortcut?

    TIA

    Fred

  10. #10
    5 Star Lounger st3333ve's Avatar
    Join Date
    May 2003
    Location
    Los Angeles, California, USA
    Posts
    705
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Move to parent folder (XP Home SP2)

    You probably know this already, but just in case: Hitting the backspace key in Explorer generally takes you to the parent folder. (In my case it opens a new window with the parent folder, but this may depend on your Folder Option settings.)

  11. #11
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    Just for safety's sake, right-click on the key in the left hand pane and make a subkey from there. It shouldn't really matter but doing it that way is more explicit.

    The strings that you are asking about do differ by one digit. As far as what those strings are, they are what are known as Globally Unique Identifiers, used by Windows to identify specific OS functions/features - Recycle Bin, My Computer, and several other things have a unique GUID. Why Microsoft chose not to expose this functionality for these two functions by default is beyond me. Other values would likely be ignored; the sheer number of GUIDs makes it near impossible that you would accidentally stumble across an undocumented "feature" or hook.

    The last part of your question: yes, you will get a standard Windows Explorer browse dialog that will allow you to select the destination (or create a new folder). Shortcuts, being file system objects, will also display this option with a right-click. And no, it will not automatically move or copy an item to the parent folder, but the function does remember the last selected folder so after the first time repetition becomes easier.
    -Mark

  12. #12
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    I think you'll find the backspace key is the same as clicking on 'Back' in WE or IE. Certainly here, if I track a path through a disk it back tracks step by step.

  13. #13
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    5,896
    Thanks
    0
    Thanked 86 Times in 82 Posts

    Re: Move to parent folder (XP Home SP2)

    Hi,
    To do this for individual files is fairly easy. Create a batch file that just contains this:
    <code>move %1 ..</code>

    and call it say moveup.bat.
    Then navigate to your SendTo folder (Cocs and SettingsusernameSendTo), right-click in it and choose New Shortcut, browse to the batch file and press OK, then call it whatever you want to see appear in the SendTo menu - e.g. MoveUp. You should now be able to right-click a file and choose SendTo-MoveUp. NB: This will need some work to cope with multiple files unfortunately.
    HTH.

    Later edit:
    OK, to do multiple files, you can use VBScript instead of a batch file. If you copy the following into a text file and rename it as MoveUp.vbs and then put a shortcut to this file in the SendTo folder, I think it will do what you want:
    <pre>Dim fso, filCurrent
    Dim strOldPath, strFileName, n
    Set fso = createobject("Scripting.FileSystemObject")
    for n = 1 to wscript.arguments.count
    strOldPath = wscript.arguments(n - 1)
    set filCurrent = fso.GetFile(strOldPath)
    strFileName = filCurrent.ParentFolder.ParentFolder & "" & filCurrent.Name
    fso.MoveFile strOldpath, strFileName
    next
    </pre>

    Regards,
    Rory
    Microsoft MVP - Excel.

  14. #14
    5 Star Lounger
    Join Date
    May 2003
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    629
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Move to parent folder (XP Home SP2)

    If a command line is convenient to you, this will copy a file to the parent dir.

    <font face="Georgia">copy foo.bar ..</font face=georgia>

  15. #15
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Move to parent folder (XP Home SP2)

    Expanding on Jim's command line idea, take a look here. About halfway down the page are some examples of file management from the command line and the commands to do the deed.
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •