Finding Where Your ISP Stores Your ASP Files

Although your Internet Service Provider (ISP) tells you the virtual directory that holds your Active Server Pages site, you may need to know the actual path where your files reside. For instance, if you are using an Access database, you may need to point your code to the exact location of the .MDB (Access database) file on the ISP’s server rather than to a virtual directory.

With the following Active Server Pages script, called path.asp, you can determine the exact path for yourself. Replace “kenc” in the third last line with the name of your virtual directory and then upload the file to your Web site. When you execute your customized version of path.asp, it will display the file system path such as C:INetPubWWWRootkenc.

 <%@ Language=VBScript %>Real PathYour virtual directory is in:
<%=server.MapPath("/kenc")%>
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS