Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining DriveLetter that htm file is running on.

Status
Not open for further replies.

TX1135

Programmer
Aug 22, 2002
2
NZ
I feel like an idiot

I am trying to determine the drive letter that the actual file Im developing is running on, without using fileSystem/GetDrive methods.
Therefore, assign a driveletter to variables requiring the absolute path.

However, I want this htm file distributed accross a range of machines via CDRom, and will therefore, be looking for Driveletters etc.
 
Use the Request.ServerVariables("PATH_TRANSLATED")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top