Feb 7, 2006 #1 JontyMC Programmer Joined Nov 26, 2001 Messages 1,276 Location GB How can I do Server.MapPath("..") in a Console app? Jon "I don't regret this, but I both rue and lament it.
How can I do Server.MapPath("..") in a Console app? Jon "I don't regret this, but I both rue and lament it.
Feb 7, 2006 #2 JurkMonkey Programmer Joined Nov 23, 2004 Messages 1,731 Location CA you're looking for the directory that your application is running in? string path = System.Windows.Forms.Application.StartupPath; work from there. Upvote 0 Downvote
you're looking for the directory that your application is running in? string path = System.Windows.Forms.Application.StartupPath; work from there.