How do I handle file paths in my code before moving to server host?
<p>In my webpages I have references to js and images as such:
"../../Content/Images/"Filename"</p>

<p>In my code if I reference a file as above, it doesnt work so i have to write:
"c:/miscfiles/"filename"</p>

<p>1-Why does the first reference work on webpages and not within the code?
2-How should i reference file paths in code so that I will not have to recode when moving to server? </p>
