Click here to Skip to main content
15,355,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get current directory, for finding
debug directory's path, in that user may paste/move folder anywhere in the
computer system
Posted
Comments
Jibesh 14-Dec-12 22:13pm
   
you mean current directory of the executable file?
deepakramoliya 14-Dec-12 22:24pm
   
yes sir

1 solution

use string myPath = Environment.CurrentDirectory;

you need to add the name space 'using System.Reflection;'
   
v2

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