server.mappath problem

Results 1 to 2 of 2

Thread: server.mappath problem

  1. #1
    Join Date
    Dec 1969

    Default server.mappath problem

    i have a count.txt file in the home folder of my project, and i m setting couter in global.asa by reading value of count from this file but , i m unable to locate this file properly though server.mappath. my statement is <BR> Set objAct = objFso.Opentextfile(Server.mappath("../Home/Count.txt"))<BR> plz tell me the correct syntax<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: server.mappath problem

    Server.mappath("/Home/Count.txt"))<BR><BR>Where /Home/Count.txt is the full path to the count.txt file, i.e. no dots

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts