program portable

Sep 6, 2014 at 2:02 PM
I would like to make the program portable, but every time I change the files of place, I have to manually change the path to the install partner.
already tried to write the path:
/programs/name.exe
this being that the folder with the program, but does not work.