T
twohawks
Guest
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
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