By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

how to locate file path of the current started application?

P: 1
Hey guys,

How can I locate the current filepath of the application (vb.net) which is currently running?

The reason I am asking is, I want to send customer's a zip file including plink.exe and my application. however, in order to use plink.exe, i will need to locate plink.exe which is in the same folder as the application they are running.

Any ideas how to do that?
Nov 29 '12 #1
Share this Question
Share on Google+
2 Replies


PsychoCoder
Expert Mod 100+
P: 465
I think you're looking for Application.StartupPath which gives the path of the current application
Nov 29 '12 #2

!NoItAll
100+
P: 296
Use
My.Application.Info.DirectoryPath
Dec 1 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.