PDA

View Full Version : Question about copying a shortcut


adrian
March 27th, 2007, 08:20 PM
Is there an "automatic way" to copy the "other end" of a shortcut onto another hard drive? I want the file that the shortcut points to, to be moved onto my backup hard drive, and not the shortcut.

There's a bunch of shortcut files in a folder I'd want to move, so it'll take me hours to do that manually.

Cameron
March 27th, 2007, 10:20 PM
I can't see of any way to do that.

If you were on a Linux box I'd say write a shell script that opened up the the shortcut file and use regexp's to get the file location and then copy it.

I looked into doing a similar process using a MS batch file but unfortunately ms doesn't let you open up .lnk files. If you could some how figure out how to open up lnk file it would work as long as they were plain-text

but thats probably more hassle than it's worth