MSG thank you very much for your quick reply.
I trying to make a launcher for program called Kleptomania( http://www.structurise.com/kleptomania/index.shtml
which allows you to capture and process images and text.
To run the program you should first copy the k-mania.Ini to C:\Windows and then you can
launch the program.
So what I'm trying to do is. In place of copying a file to Windows directory, I want to
redirected k-mania.Ini to the app folder and then lunch the executable file.
This is an example of the script.
CopyFiles /SILENT "$EXEDIR\Appdata\k-mania.Ini" "$WINDIR"
CopyFiles /SILENT "$WINDIR\k-mania.Ini" "$EXEDIR\Appdata\"
Here is an example from autohotkey community (http://www.autohotkey.com/community/...ic.php?t=56697
Thank you for your patience.