Get the startup path in a console exe

How do get the startup path ( ) of my exe without adding a reference to


You could try


which would work for most cases.

Need Your Help

MediaWiki Special Characters in file name issue

php mediawiki

When I upload a file onto mediawiki with Special Characters in the name it mangles the filename into something that looks like this:

$facebook->getUser(); STILL returning 0

facebook user userid

I see this has been asked a lot here but I still have yet to come up with a solution. I need to get the user's ID to determine if they have already filled out a form in my app. Here is my code..

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.