Change the target of a shortcut file

Completed Posted 7 years ago Paid on delivery
Completed Paid on delivery

Using Delphi 2010 or compatible version, write a function:

Function ShortcutEdit(const ShortcutFilename, NewTarget, NewWorkingDir : String) : Boolean;

Which edits the given ShortcutFile and changes its target (i.e. to what file the shortcut is pointing to) and its working directory. If the function succeeds, it must return True.

The function needs to work with only regular shortcuts pointing to a file, not with special shortcuts that point to Windows properties such as My Computer or Control Panel.

The function must work all versions of Windows from Windows XP to Windows 10.

The final delivery must consists of the source code as well as a simple demo program that can be used to test the function works.

Delphi

Project ID: #12021745

About the project

10 proposals Remote project Active 7 years ago

Awarded to:

xupiter2012

Hello, jv16! Firstly, thank you for interesting project. I have great experience with Delphi 2010, so it will be done in a very professional way. Please let me know if you want to support Unicode file names and w More

$30 USD in 1 day
(16 Reviews)
4.7

10 freelancers are bidding on average $24 for this job

andriy3s

Hi, I'm high rated Delphi coder. I already have such program which makes things you've require. Even more: set iconlist, icon #, parameters list etc. It works fine in Windows XP and 7. And tomorrow I'll test how More

$15 USD in 1 day
(32 Reviews)
5.3
PLobex

Hello, this is a few hours max. project (including testing on different, XP up to 10 Windows. I have virtual and physical machines for that). I'm ready to code it right now.

$30 USD in 1 day
(26 Reviews)
4.8
DeadC0der

Hi there ^^ I'm delphi coder ^^ actually I used to deal with simillar jobs just like the one you have mentioned ^^ welll regarding to your project we could use ComObject and ActiveX to acces through the IShellLink then More

$30 USD in 1 day
(12 Reviews)
4.2
igorgoshovsky

A proposal has not yet been provided

$20 USD in 1 day
(1 Review)
2.6
jperusan

I've made this function and small console application which you can call with three parameters: shortcut file name, new target, new working dir. All is ready and waiting for you. :-)

$25 USD in 1 day
(1 Review)
1.0
gresaggr

Hello. I work with delphi about 3 years. Can make this function on Delphi 7 or Delphi 10 Seatle and test it on virtual machine (Win 7, 8, 10)

$20 USD in 1 day
(0 Reviews)
0.0
deCTod

A proposal has not yet been provided

$35 USD in 1 day
(0 Reviews)
0.0