Click here to Skip to main content
15,887,946 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am developing a software which requires to call .exe file. I dont know the path of the .exe file where it resides on computer. Can I run .exe file using Windows registry entry??? I am using C#.net for developing software..

Thanks in advance...
Posted
Updated 14-Nov-11 18:35pm
v2

1 solution

What are you talking about? Registry entry? — forget it.

Your *.exe files (as well as *.dll files) are created in output directory as a result of the project build. This directory is written in your project file on per configuration basis; each directory name is relative to the directory where your project file is located.

See your project's Properties => Build => "Output Directory". Again, this directory depends on configuration and by default is located in the sub-directory of another directory with the same name as a configuration, such as "bin/Debug", "bin/Release".

—SA
 
Share this answer
 
v2
Comments
Rohit_patel 15-Nov-11 0:42am    
I want to call python.exe from my software.. and I don't want to provide path for python.exe. Is there any way to auto detect path of python.exe from system? There is an entry of python.exe in windows registry. Can I use registry to know the path of python.exe???

Thanks for your reply...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900