[Plugin Request] Copy of shortcut's target
Moderators: Hacker, petermad, Stefan2, white
[Plugin Request] Copy of shortcut's target
I need the following functionality.
Given a directory containing Windows shortcuts (.lnk), I would like to create a copy of the target files in the opposite panel.
What for ?
Let say you put all your files in one container (directory) and have several projects, customers, etc... organized only with shortcuts.
If you want to take with you a copy of all the files for one project you need a functionality like this.
For techies: Doing this with hardlinks is ok only if all files hare on the same volume, which is hardly the case nowadays.
Given a directory containing Windows shortcuts (.lnk), I would like to create a copy of the target files in the opposite panel.
What for ?
Let say you put all your files in one container (directory) and have several projects, customers, etc... organized only with shortcuts.
If you want to take with you a copy of all the files for one project you need a functionality like this.
For techies: Doing this with hardlinks is ok only if all files hare on the same volume, which is hardly the case nowadays.
I'm not sure but I think there is already a plugin with this functionality. Please search at http://www.totalcmd.net/ .
sheepdog
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
- majkinetor
- Senior Member
- Posts: 369
- Joined: 2005-11-20, 10:36 UTC
- Location: Belgrade, Serbia
- Contact:
I don't like about that plugin the fact that I have to press CTRL + B every time I use it. Lefty, please make this default behavior.
I currently use console tool for this... its name is ReadLink.exe (~32K). This is a batch script I use, and U add it to the Start menu as
Program: CopyLink.bat
Params: %N "%T"
Now, with cursor on link, just select start->copy link , and you will heave it in oposite pannel.
I currently use console tool for this... its name is ReadLink.exe (~32K). This is a batch script I use, and U add it to the Start menu as
Program: CopyLink.bat
Params: %N "%T"
Code: Select all
set LINK="%~1"
set FNAME=""
set DEST="%~2"
for /F %%i in ('readlink %LINK%') do set FNAME=%%i
copy %FNAME% %DEST% >nul
We are not doing this just for the money.
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com
Thanks, majkinetor!
Little addition: readlink.exe is also part of the outwit-suite:
http://www.dmst.aueb.gr/dds/sw/outwit/
It contains the following tools:
Little addition: readlink.exe is also part of the outwit-suite:
http://www.dmst.aueb.gr/dds/sw/outwit/
It contains the following tools:
- winclip - Access the windows clipboard
- winreg - manipulate the windows registry
- docprop - read document properties
- odbc - select data from relational databases
- readlink - resolve shell shortcuts
- readlog - access the windows event log
- majkinetor
- Senior Member
- Posts: 369
- Joined: 2005-11-20, 10:36 UTC
- Location: Belgrade, Serbia
- Contact:
[OT]
-----
Yup, that's where I found it also.
Winclip is very useful tool. I found to be very hard to find good console clipbard application but this works very nice.
U can do things like:
which is great.
U can also use this technique to save command prompt commands without using anoying windows alternative. If you heave command like:
just add | winclip -c at the end and press HOME and add echo
-----
Yup, that's where I found it also.
Winclip is very useful tool. I found to be very hard to find good console clipbard application but this works very nice.
U can do things like:
Code: Select all
dir | winclip -c
winclip -p
which is great.
U can also use this technique to save command prompt commands without using anoying windows alternative. If you heave command like:
Code: Select all
c:>some very long commad here
Code: Select all
c:>echo some very long command here | winclip -c
We are not doing this just for the money.
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com
We are doing it for sh*t load of money.
r-moth.com
r-moth.deviantart.com