Answered by:

I copied my application exe file to my second hard drive how do i use/run the exe file from the second drive now ?

Question

I run the application its copying the exe file with another name to another location i want now that if i run the exe from the other location it will do another things and not the same things it did in the first time. Like in the project to make that the
second exe file will use and do things from another code in the same project.

Answers

You could do it via command line args. When you run the executable in the new location pass along some additional command line parameter, and then when the program is started, if you see that the command line parameter exists, do something different.