tags:

views:

23

answers:

2

the title is my question. i don't know the details of the web server that my project will be deployed on. in one class i execute a batch file in the project directory. should i just say "C:\Inetpub\wwwroot\etcetcetc" and hope for the best?

A: 

Try,

Server.MapPath(ResolveUrl("~/"))
Paul Suart