1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLUTION: copy/move selected shortcut targets to a destination youchoose on the fly

Discussion in 'Windows XP' started by twohawks, Mar 10, 2010.

  1. twohawks

    twohawks Flightless Bird

    Hi All,
    I was searching all over in relation to this question. I would have
    added some links to older relevant threads that I found, but there is
    a 60 day limit.

    Although the below tags link to a member-site (popular), this is
    really not meant to come across as advertising.. I had been looking
    for some time into this similar issue, and information on the net
    seems not only spotty and incomplete, but the solution is very
    elusive... and it shouldn't be.

    What's really tough to find is way to select objects at random, say by
    control-clicking any files and shortcuts in a folder, and then
    selectively copy or move the files and shortcut targets (not the
    shortcuts themselves) ...whenever and wherever you wish to do this,
    say, via a context-menu you set up.
    Most scripts require coding the paths and such ahead of time and
    launching the script, or gathering a selection of paths into a batch,
    etc...

    ....but I wanted more freedom, and I wanted it in the context menu.

    ***This is doable.

    The following links demonstrate some alternatives using simple windows
    scripting methods.
    The first link discusses the technical issues (the challenges and what
    you really can and cannot do) in detail, as well as providing a very
    simple approach to how this can be handled. I am not posting that all
    here because due to its detail its a bit lengthy (yes, I wrote it).

    I post all this here in the spirit of seeding the best answers I could
    find in places where seekers -like myself- may find them ...places I
    arrived at before in search of answers ;^)
    Cheers,
    TwoHawks

    An article/tutorial with an example, for those wishing to learn and
    understand
    http://www.experts-exchange.com/art...-shortcut-target-files-referenced-by-lnk.html

    see this for folder recursion etc
    vbs to work on folder contains shortcuts to copy the source to another
    folder.
    http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_22498609.html

    see this too
    Batch File To Copy Pictures
    http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_24556493.html

    powershell possibility
    http://www.vistax64.com/powershell/171506-passing-arguments-bat-powershell-script.html
     
  2. RJK

    RJK Flightless Bird

    Re: SOLUTION: copy/move selected shortcut targets to a destination you choose on the fly

    "twohawks" <horustwohawks@gmail.com> wrote in message
    news:0ad94631-f9ca-427c-8e80-b08ee5a65d8d@t9g2000prh.googlegroups.com...
    > Hi All,
    > I was searching all over in relation to this question. I would have
    > added some links to older relevant threads that I found, but there is
    > a 60 day limit.
    >
    > Although the below tags link to a member-site (popular), this is
    > really not meant to come across as advertising.. I had been looking
    > for some time into this similar issue, and information on the net
    > seems not only spotty and incomplete, but the solution is very
    > elusive... and it shouldn't be.
    >
    > What's really tough to find is way to select objects at random, say by
    > control-clicking any files and shortcuts in a folder, and then
    > selectively copy or move the files and shortcut targets (not the
    > shortcuts themselves) ...whenever and wherever you wish to do this,
    > say, via a context-menu you set up.
    > Most scripts require coding the paths and such ahead of time and
    > launching the script, or gathering a selection of paths into a batch,
    > etc...
    >
    > ...but I wanted more freedom, and I wanted it in the context menu.
    >
    > ***This is doable.
    >
    > The following links demonstrate some alternatives using simple windows
    > scripting methods.
    > The first link discusses the technical issues (the challenges and what
    > you really can and cannot do) in detail, as well as providing a very
    > simple approach to how this can be handled. I am not posting that all
    > here because due to its detail its a bit lengthy (yes, I wrote it).
    >
    > I post all this here in the spirit of seeding the best answers I could
    > find in places where seekers -like myself- may find them ...places I
    > arrived at before in search of answers ;^)
    > Cheers,
    > TwoHawks
    >
    > An article/tutorial with an example, for those wishing to learn and
    > understand
    > http://www.experts-exchange.com/art...-shortcut-target-files-referenced-by-lnk.html
    >
    > see this for folder recursion etc
    > vbs to work on folder contains shortcuts to copy the source to another
    > folder.
    > http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_22498609.html
    >
    > see this too
    > Batch File To Copy Pictures
    > http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_24556493.html
    >
    > powershell possibility
    > http://www.vistax64.com/powershell/171506-passing-arguments-bat-powershell-script.html



    .....so what eaxactly are you trying to do ???
    ....( without all the gibberish if you please ! )

    regards, Richard
     
  3. MowGreen

    MowGreen Flightless Bird

    Re: SOLUTION: copy/move selected shortcut targets to a destinationyou choose on the fly

    RJK wrote:
    > ....so what eaxactly are you trying to do ???
    > ...( without all the gibberish if you please ! )
    >
    > regards, Richard



    It appears that the OP's doing a copy/move selected shortcut targets to
    a location on a fly. Whether they all fit depends on the size of the
    fly, I reckon. <w>


    MowGreen
    ================
    *-343-* FDNY
    Never Forgotten
    ================

    banthecheck.com
    "Security updates should *never* have *non-security content* prechecked
     
  4. glee

    glee Flightless Bird

    Re: SOLUTION: copy/move selected shortcut targets to a destination you choose on the fly

    "MowGreen" <mowgreen@nowandzen.com> wrote in message
    news:uOkvHALwKHA.4196@TK2MSFTNGP02.phx.gbl...
    > RJK wrote:
    >> ....so what eaxactly are you trying to do ???
    >> ...( without all the gibberish if you please ! )
    >>
    >> regards, Richard

    >
    >
    > It appears that the OP's doing a copy/move selected shortcut targets
    > to a location on a fly. Whether they all fit depends on the size of
    > the fly, I reckon. <w>
    >


    ....and whether the fly is in a urinal (but that's an inside joke).....
    --
    ....glen
     
  5. MowGreen

    MowGreen Flightless Bird

    Re: SOLUTION: copy/move selected shortcut targets to a destinationyou choose on the fly

    glee wrote:
    >
    > ...and whether the fly is in a urinal (but that's an inside joke).....
    > --
    > ...glen



    Yeah, inside the urinal. Arf, arf, nanu nanu.


    MowGreen
    ================
    *-343-* FDNY
    Never Forgotten
    ================

    banthecheck.com
    "Security updates should *never* have *non-security content* prechecked
     

Share This Page